Closest Rounding


A ClosestRounding object is created by

ql.ClosestRounding(prec[,digit])

where prec and digit are integer. Default value of digit is 5.
For an UpRounding object U

int U(r) rounds up r. The first decimal past the precision is rounded up if it greater than or equal to digit.


Creates a QuantLib rounding object


Index