2017年8月15日 | Leave a comment 问题: java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. 1 java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. 解决: 用divide(d2, 4, RoundingMode.***); 参考: http://blog.csdn.net/jobjava/article/details/6764623