ArithmeticException: “Non-terminating decimal expansion; no exact representable decimal result”
Why does the following code raise the exception shown below? BigDecimal a = new BigDecimal(“1.6”); BigDecimal b = new BigDecimal(“9.2”); a.divide(b) // results … Read more