@@ -, +, @@ --- C4/Members.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/C4/Members.pm +++ a/C4/Members.pm @@ -1023,9 +1023,8 @@ sub GetMemberAccountRecords { } $acctlines[$numlines] = $data; $numlines++; - $total += sprintf "%.0f", 1000*$data->{amountoutstanding}; # convert float to integer to avoid round-off errors + $total += sprintf '%.2f', $data->{amountoutstanding}; } - $total /= 1000; return ( $total, \@acctlines,$numlines); } --