Introduction
The java.math.BigDecimal class provides operations for arithmetic, scale manipulation, rounding, comparison, hashing, and format conversion.The toString() method provides a canonical representation of a BigDecimal. It gives the user complete control over rounding behavior.