diff options
author | Craig Earls <enderw88@gmail.com> | 2013-01-30 15:35:31 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-01-30 15:35:31 -0700 |
commit | 0df13661686dfec66aa0d5a8dd88920e1e104fbc (patch) | |
tree | cbf9270fc8fe85d0ae67c1c1f3ab8d42296c232b /src/report.h | |
parent | 383c341d885e1a69fc63aca2ae7db4a2ff5ff1a8 (diff) | |
download | fork-ledger-0df13661686dfec66aa0d5a8dd88920e1e104fbc.tar.gz fork-ledger-0df13661686dfec66aa0d5a8dd88920e1e104fbc.tar.bz2 fork-ledger-0df13661686dfec66aa0d5a8dd88920e1e104fbc.zip |
Bug 634 Added roundto function, optimized floor and ceiling
Fixes Bug634 by adding roundto(amount, places).
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h index b0044f60..6533d2f1 100644 --- a/src/report.h +++ b/src/report.h @@ -176,6 +176,7 @@ public: value_t fn_floor(call_scope_t& scope); value_t fn_ceiling(call_scope_t& scope); value_t fn_round(call_scope_t& scope); + value_t fn_roundto(call_scope_t& scope); value_t fn_unround(call_scope_t& scope); value_t fn_abs(call_scope_t& scope); value_t fn_justify(call_scope_t& scope); |