|
ledger-core
|
#include <FormatRules.hpp>
Public Member Functions | |
| FormatRules (RoundingMode roundingMode_, int32_t maxNumberOfDecimals_) | |
| FormatRules (const FormatRules &cpy) | |
| FormatRules & | operator= (const FormatRules &cpy) |
| template<class Archive > | |
| void | load (Archive &archive) |
| template<class Archive > | |
| void | save (Archive &archive) const |
Public Attributes | |
| RoundingMode | roundingMode |
| int32_t | maxNumberOfDecimals |
Formatting rules to format amounts to strings.
| int32_t ledger::core::api::FormatRules::maxNumberOfDecimals |
The maximum number of decimals formatted decimals will have.
| RoundingMode ledger::core::api::FormatRules::roundingMode |
How should we round decimal values?
1.8.13