解决的办法就是给divide方法设置精确的小数点,如:divide(xxxxx,2)。
BigDecimal除法运算出现java.lang.ArithmeticException: Non-terminating decimal expansion; no exact represent
猜你喜欢
转载自blog.csdn.net/qin_zhimou/article/details/52751817
今日推荐
周排行