Class BigDecRound

All Implemented Interfaces:
PostfixMathCommandI, Serializable

public class BigDecRound extends Round
Rounding functions for BigDecimals. Support all the modes in RoundingMode as well as a mode compatible with Math.round(double). Two types of function are supported round(x) rounds to 0 decimal places and round(x,k) rounds to k decimal places. This can be used to implement floor() and ceil() functions. Uses the BigDecimal.setScale(int,RoundingMode) method.
Since:
Jep 3.5
Author:
Richard Morris
See Also: