The java.math.BigDecimal.round(MathContext mc) returns a BigDecimal rounded according to the MathContext settings ...
www.tutorialspoint.com