QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Ceiling truncation. More...
#include <rounding.hpp>
Public Member Functions | |
CeilingTruncation (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... | |
Ceiling truncation.
Definition at line 114 of file rounding.hpp.
|
explicit |
Definition at line 116 of file rounding.hpp.