From ae79aeacb965fcd740daf9b198f9b1acfda1315b Mon Sep 17 00:00:00 2001 From: oleonard Date: Thu, 14 Sep 2006 14:31:33 +0000 Subject: [PATCH] Formatting fine amount to two decimal places in circulation error message --- C4/Circulation/Circ2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index 5e4fedfe70..494d0ea562 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -725,7 +725,7 @@ sub canbookbeissued { # DEBTS my $amount = checkaccount($env,$borrower->{'borrowernumber'}, $dbh,$duedate); if ($amount >0) { - $needsconfirmation{DEBT} = $amount; + $needsconfirmation{DEBT} = sprintf("%.2f",$amount); } -- 2.39.5