From 56baa50ead734d9d8fdab136f0704e4c705a3557 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Fri, 20 Jun 2008 17:04:27 -0500 Subject: [PATCH] fix for bug 1961: sprintf value needed in C4/Circulation.pm --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index d118bca3af..25a8dcc5f3 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -701,7 +701,7 @@ sub CanBookBeIssued { } else { if ( $amount > 0 ) { - $needsconfirmation{DEBT} = $amount; + $needsconfirmation{DEBT} = sprintf( "%.2f", $amount ); } } -- 2.39.5