From: ivan Date: Fri, 23 Jan 2009 00:49:42 +0000 (+0000) Subject: typo in rounding the amounts returned by renew_info, RT#4623 X-Git-Tag: freeside_1_7_4rc1~119 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=77ba993cd7a4110d75356d6405f88c460932afd3;p=freeside.git typo in rounding the amounts returned by renew_info, RT#4623 --- diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 0d84c0e0c..f8e26d213 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -1040,7 +1040,7 @@ sub renew_info { 'bill_date_pretty' => time2str('%x', $_->bill), 'renew_date' => $renew_date, 'renew_date_pretty' => time2str('%x', $renew_date), - 'amount' => sprintf('.%2f', $total), + 'amount' => sprintf('%.2f', $total), }; } @cust_pkg;