除法运算报错java.lang.ArithmeticException: Non-terminating decimal expansion
报错:java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.报错代码:两种情况s1.divide(s2);s1.divide(s2).setScale(2, BigDecimal.ROUND_HALF_UP);修改建议:s1.divide(BigDecimal divisor, int scale, int roundingMo