how to divide a bigdecimal with setting scale in java code example
Example: bigdecimal divide java
BigDecimal mark1 = new BigDecimal("78");
BigDecimal total = new BigDecimal("100");
BigDecimal c = mark1.divide(total, 2, RoundingMode.HALF_UP);