Adding a sprintf so fines show up to 2 decimal places

This commit is contained in:
rangi 2006-06-07 03:27:51 +00:00
parent 14fa887bbe
commit 502a6e9674
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ for (my $i=0; $i < $count; $i++){
city => $results->[$i]{'city'},
branchcode => $results->[$i]{'branchcode'},
odissue => "$od/$issue",
fines => $fines,
fines => sprintf("%.2f",$fines),
borrowernotes => $results->[$i]{'borrowernotes'},
sort1 => $results->[$i]{'sort1'},
sort2 => $results->[$i]{'sort2'},