Rounding.RoundCeiling, Rounding.RoundDown, Rounding.RoundFloor, Rounding.RoundHalfCeiling, Rounding.RoundHalfDown, Rounding.RoundHalfEven, Rounding.RoundHalfFloor, Rounding.RoundHalfUp, Rounding.RoundUp
CEILING, CONVERGENT, DOWN, FLOOR, GENERAL, HALF_CEILING, HALF_DOWN, HALF_EVEN, HALF_FLOOR, HALF_UP, NEAREST, TRUNCATE, UNKNOWN, UNNECESSARY, UP
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
round(java.math.BigDecimal dec)
Round the BigDecimal value using the appropriate rounding
strategy.
|
_addRounding, clone, equals, forName, getName, hashCode, nameIterator, roundCeiling, roundDown, roundFloor, roundHalfCeiling, roundHalfDown, roundHalfEven, roundHalfFloor, roundHalfUp, roundUp, toString
public java.math.BigInteger round(java.math.BigDecimal dec)
Rounding