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