Code example for BigDecimal

Methods: scale, toString

0
                && big.scale() == 14);
        big = new BigDecimal("-12345");
        assertTrue("the BigDecimal value is not initialized properly", big.toString().equals(
                "-12345") 
                && big.scale() == 0);
        big = new BigDecimal("123.");
        assertTrue("the BigDecimal value is not initialized properly", big.toString().equals("123")
                && big.scale() == 0);
 
    } 
}