Constructs a new MathContext with a specified
precision and rounding mode.
setPrecision | The non-negative int precision setting. | |
setRoundingMode | The rounding mode to use. |
IllegalArgumentException | if the setPrecision parameter is less
than zero. | |
NullPointerException | if the rounding mode argument is null |
Diagram: Context