diff options
-rw-r--r-- | src/value.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc index ad4047cd..7162a610 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1223,6 +1223,8 @@ value_t value_t::rounded() const return *this; case AMOUNT: return as_amount().rounded(); + case BALANCE: + return as_balance().rounded(); default: break; } @@ -1238,6 +1240,8 @@ value_t value_t::unrounded() const return *this; case AMOUNT: return as_amount().unrounded(); + case BALANCE: + return as_balance().unrounded(); default: break; } |