From 502a6e9674fd3540318fc9efc1ad308bfefbb74e Mon Sep 17 00:00:00 2001 From: rangi Date: Wed, 7 Jun 2006 03:27:51 +0000 Subject: [PATCH] Adding a sprintf so fines show up to 2 decimal places --- members/member.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/member.pl b/members/member.pl index 1d3fc15879..85d3535a48 100755 --- a/members/member.pl +++ b/members/member.pl @@ -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'}, -- 2.39.5