diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-27 03:04:05 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-27 03:04:05 -0400 |
commit | c49b98fc4c307a2d08161cebafb348b935c6fcb5 (patch) | |
tree | 02171b10ad660778447058649b17069108165298 /src/chain.cc | |
parent | c57c85c92f352acd6eefa309344dae7f98cf7f31 (diff) | |
download | fork-ledger-c49b98fc4c307a2d08161cebafb348b935c6fcb5.tar.gz fork-ledger-c49b98fc4c307a2d08161cebafb348b935c6fcb5.tar.bz2 fork-ledger-c49b98fc4c307a2d08161cebafb348b935c6fcb5.zip |
Added an --unround option, to show full precision
Diffstat (limited to 'src/chain.cc')
-rw-r--r-- | src/chain.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chain.cc b/src/chain.cc index d33742a5..9155d4fa 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -93,6 +93,10 @@ post_handler_ptr chain_post_handlers(report_t& report, handler.reset(new calc_posts(handler, expr)); } + // unround_posts will unround the amounts in all postings + if (report.HANDLED(unround)) + handler.reset(new unround_posts(handler)); + // filter_posts will only pass through posts matching the // `secondary_predicate'. if (report.HANDLED(only_)) { |