diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-04-05 20:07:24 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-04-05 20:07:24 -0700 |
commit | 540effc1746d2118c7fb5c768aa0d69dc010033b (patch) | |
tree | defd31d4fa0be117f218889aa3349e6fad8fc4aa | |
parent | 7127c07dc9cc26c834d6f83605c6893aa4554741 (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 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, '') %> % } |