Bug#: 3230 Penny fine, needs fixed, just a round off. Please
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
92ead106ac
commit
976d31ec6e
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue