Month: August 2009

Java Tip: Resolving BigDecimal ArithmeticException

Financial Applications need precise and accurate calculations and this is achieved in Java using the java.math.BigDecimal class. While working with this class and using the divide(BigDecimal divisor) method I came across an issue which I wanted to describe here: java.lang.ArithmeticException:…