Useful things: java.math.BigDecimal the difference between setScale and round
java.math.BigDecimal the difference between setScale and round One pitfall within BigDecimal I guess is the round method within BigDecimal. Lets assume the following code samples: BigDecimal smallNumber = new BigDecimal("0.01234"); smallNumber.round ...
araklefeistel.blogspot.com |