diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-04-05 20:07:23 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-04-05 20:07:23 -0700 |
commit | dea176cdec2d5ed43c6f4304681b109a11da4fa0 (patch) | |
tree | 0d9c8f29cee9d02141221a49cf49fec7ebf70b2f /httemplate/edit/elements | |
parent | 47a843b88c44f1d2d2c9a0101dbeb806f2644c11 (diff) |
fix rounding error in CCH tax appropriation, RT#41610
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r-- | httemplate/edit/elements/ApplicationCommon.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html index acc3368b8..4d7f9218d 100644 --- a/httemplate/edit/elements/ApplicationCommon.html +++ b/httemplate/edit/elements/ApplicationCommon.html @@ -158,6 +158,7 @@ function changed(what) { % } % $desc .= ' (default)'; % } +% $total_owed = sprintf('%.2f', $total_owed + 0.00000001 ); #so 1.005 rounds to 1.01 % if ( $total_owed > 0 ) { <% &{$row_generator}($key, $cbp, $desc, $total_owed, $amount, '') %> % } |