round
Returns a BigDecimal rounded according to the MathContext settings. If the _precision setting is 0 then no rounding takes place.
The effect of this method is identical to that of the BigDecimal.plus method.
Return
a BigDecimal rounded according to the MathContext settings.
Since
1.5
See also
.plus
Parameters
mc
the context to use.
Throws
if the rounding mode is UNNECESSARY and the BigDecimal operation would require rounding.