Division of BigDecimals
I want to use BigDecimal in some calculations. Imagine that in some intermediate step there is the following division new BigDecimal(1).divide(new BigDecimal(4)). I understand that in this case the scale is calculated automatically and the result is 0.25. But Imagine that in some cases this fraction would be an irrational number like in new BigDecimal(1).divide(new BigDecimal(3)) then this exception is thrown java.lang.ArithmeticException: Non-terminating decimal expansion; no exact...