From: Jeremy Davis Date: Tue, 30 Apr 2013 20:00:23 +0000 (-0400) Subject: Fixed rounding issue in footer #21692 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=e169cafd3a30a51ad8976cdb94058b057de846b6;p=freeside.git Fixed rounding issue in footer #21692 --- diff --git a/FS/FS/pay_batch/BoM.pm b/FS/FS/pay_batch/BoM.pm index a3708d477..b609df351 100644 --- a/FS/FS/pay_batch/BoM.pm +++ b/FS/FS/pay_batch/BoM.pm @@ -59,7 +59,7 @@ $name = 'BoM'; footer => sub { my ($pay_batch, $batchcount, $batchtotal) = @_; sprintf( "YD%08u%014.0f%55s\n", $batchcount, $batchtotal*100, ""). #80 - sprintf( "Z%014u%05u%014u%05u%40s", #80 now + sprintf( "Z%014.0f%05u%014u%05u%40s", #80 now $batchtotal*100, $batchcount, "0", "0", ""); }, );