String转BigDecimal

String str= "1"; int a = Integer.parseInt(str); System.out.println(a); BigDecimal bigDecimal = new BigDecimal(a);
相关文章
相关标签/搜索