diff options
Diffstat (limited to 'src/balance.h')
-rw-r--r-- | src/balance.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/balance.h b/src/balance.h index a9684796..f8e4f25c 100644 --- a/src/balance.h +++ b/src/balance.h @@ -318,6 +318,13 @@ public: return temp; } + balance_t truncated() const { + balance_t temp; + foreach (const amounts_map::value_type& pair, amounts) + temp += pair.second.truncated(); + return temp; + } + balance_t unrounded() const { balance_t temp; foreach (const amounts_map::value_type& pair, amounts) |