X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpay_batch%2FRBC.pm;h=6ee5771fec9dfea317a49481306535a7180d9cf4;hb=aed8ec35ccb9cdeb7ea0cb6ff2946f9d83d582f6;hp=26ff95971354146e41c91dcf4fe17a7851d92c60;hpb=bef5524812ba07f939d1445a8c64b4474787e8f6;p=freeside.git diff --git a/FS/FS/pay_batch/RBC.pm b/FS/FS/pay_batch/RBC.pm index 26ff95971..6ee5771fe 100644 --- a/FS/FS/pay_batch/RBC.pm +++ b/FS/FS/pay_batch/RBC.pm @@ -104,7 +104,7 @@ $name = 'RBC'; sprintf("%09u", $aba). sprintf("%-18s", $account). ' '. - sprintf("%010u",$cust_pay_batch->amount*100). + sprintf("%010.0f",$cust_pay_batch->amount*100). ' '. time2str("%Y%j", $pay_batch->download). sprintf("%-30s", $cust_pay_batch->cust_main->first . ' ' . @@ -131,7 +131,7 @@ $name = 'RBC'; sprintf("%10s", $client_num). ' ' x 20 . sprintf("%06u", $batchcount). - sprintf("%014u", $batchtotal*100). + sprintf("%014.0f", $batchtotal*100). '00' . '000000' . # total number of customer information records ' ' x 84