diff --git a/C4/Members.pm b/C4/Members.pm index 3f225447b4..26f1273cec 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -1131,9 +1131,9 @@ sub GetMemberAccountRecords { $data->{title} = $biblio->{title}; $acctlines[$numlines] = $data; $numlines++; - $total += int(100 * $data->{'amountoutstanding'}); # convert float to integer to avoid round-off errors + $total += int(1000 * $data->{'amountoutstanding'}); # convert float to integer to avoid round-off errors } - $total /= 100; + $total /= 1000; $sth->finish; return ( $total, \@acctlines,$numlines); }