what is bigdecimal in java code example Example: how to initialize bigdecimal in java BigDecimal num = new BigDecimal(123);