From: ivan Date: Fri, 23 Jan 2009 00:23:32 +0000 (+0000) Subject: round the amounts returned by renew_info, RT#4623 X-Git-Tag: root_of_webpay_support~116 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=08ba9f8e8d5c7dc641817d3fa7580faf3a38b50a round the amounts returned by renew_info, RT#4623 --- diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index bd95c2883..cbc3dba90 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -1130,7 +1130,7 @@ sub renew_info { 'bill_date_pretty' => time2str('%x', $_->bill), 'renew_date' => $renew_date, 'renew_date_pretty' => time2str('%x', $renew_date), - 'amount' => $total, + 'amount' => sprintf('.%2f', $total), }; } @cust_pkg;