Modifier and Type | Field and Description |
---|---|
static RoundingMode |
RoundingModes.ROUND_CEILING
Rounding mode that rounds towards positive infinity.
|
static RoundingMode |
RoundingModes.ROUND_DOWN
Rounding mode that rounds towards 0.
|
static RoundingMode |
RoundingModes.ROUND_FLOOR
Rounding mode that rounds towards negative infinity.
|
static RoundingMode |
RoundingModes.ROUND_UP
Rounding mode that rounds away from 0.
|
Modifier and Type | Method and Description |
---|---|
DigitSet |
SmallIntegerNumber.round(int radix,
int precision,
RoundingMode roundingMode) |
DigitSet |
RealNumber.round(int radix,
int precision,
RoundingMode roundingMode)
Rounds to the specified radix, using the specified precision and
rounding mode.
|