#include <rounding.hpp>
Definition at line 35 of file rounding.hpp.
Inspectors | |
Integer | digit_ |
Integer | precision_ |
Type | type_ |
Integer | precision () const |
Integer | roundingDigit () const |
Type | type () const |
Public Types | |
enum | Type { None, Up, Down, Closest, Floor, Ceiling } |
rounding methods More... | |
Public Member Functions | |
Decimal | operator() (Decimal value) const |
perform rounding | |
Rounding (Integer precision, Type type=Closest, Integer digit=5) | |
Rounding () | |
default constructor |