View | Details | Raw Unified | Return to bug 17140
Collapse All | Expand All

(-)a/C4/Members.pm (-3 / +1 lines)
Lines 1023-1031 sub GetMemberAccountRecords { Link Here
1023
        }
1023
        }
1024
        $acctlines[$numlines] = $data;
1024
        $acctlines[$numlines] = $data;
1025
        $numlines++;
1025
        $numlines++;
1026
        $total += sprintf "%.0f", 1000*$data->{amountoutstanding}; # convert float to integer to avoid round-off errors
1026
        $total += sprintf '%.2f', $data->{amountoutstanding};
1027
    }
1027
    }
1028
    $total /= 1000;
1029
    return ( $total, \@acctlines,$numlines);
1028
    return ( $total, \@acctlines,$numlines);
1030
}
1029
}
1031
1030
1032
- 

Return to bug 17140