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
Parameters
mc
the context to use.
See also
.plus
Throws
if the rounding mode is UNNECESSARY and the BigDecimal operation would require rounding.