java add number to bigdecimal code example
Example: how to sum bigdecimal in java
// The BigDecimal is immutable so you need to do this:
BigDecimal result = test.add(new BigDecimal(30));
System.out.println(result);
// The BigDecimal is immutable so you need to do this:
BigDecimal result = test.add(new BigDecimal(30));
System.out.println(result);