From dea176cdec2d5ed43c6f4304681b109a11da4fa0 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 5 Apr 2016 20:07:23 -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.11.0