From 540effc1746d2118c7fb5c768aa0d69dc010033b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 5 Apr 2016 20:07:24 -0700 Subject: [PATCH] fix rounding error in CCH tax appropriation, RT#41610 --- httemplate/edit/elements/ApplicationCommon.html | 1 + 1 file changed, 1 insertion(+) 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, '') %> % } -- 2.20.1