February 2014
Beginner
1248 pages
62h 25m
English
In earlier chapters, we demonstrated monetary calculations using values of type double. In Chapter 5, we discussed the fact that some double values are represented approximately. Any application that requires precise floating-point calculations—such as those in financial applications—should instead use class BigDecimal (from package java.math).
Read now
Unlock full access