java字符串转bigdecimal,在java中将字符串转换为BigDecimal
I am reading a currency from XML into Java.String currency = 135.69;When I convert this to BigDecimal I get:System.out.println(new BigDecimal(135.69));Output:135.68999999999999772626324556767940521240...