QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Up-rounding. More...
#include <rounding.hpp>
Public Member Functions | |
UpRounding (Integer precision, Integer digit=5) | |
Public Member Functions inherited from Rounding | |
Rounding ()=default | |
default constructor More... | |
Rounding (Integer precision, Type type=Closest, Integer digit=5) | |
Decimal | operator() (Decimal value) const |
perform rounding More... | |
Integer | precision () const |
Type | type () const |
Integer | roundingDigit () const |
Additional Inherited Members | |
Public Types inherited from Rounding | |
enum | Type { None , Up , Down , Closest , Floor , Ceiling } |
rounding methods More... | |
Up-rounding.
Definition at line 90 of file rounding.hpp.
|
explicit |
Definition at line 92 of file rounding.hpp.