diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-04-05 20:07:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-04-05 20:07:26 -0700 |
commit | b0a7df36df52eebbc75edca3480a0b697459a187 (patch) | |
tree | a64ab7cf3552a83d506a22962e265c4fcb73a5d5 | |
parent | 72606ff237b4b05bea66ba306627bd464701d2e5 (diff) |
fix rounding error in CCH tax appropriation, RT#41610
-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 7b1050ade..ffc303c51 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, '') %> % } |