Code example for BigDecimal

Methods: compareTo, precision, setScale