From f9da94c7e6b4bb6894fe2b00edc6d2e004b18c12 Mon Sep 17 00:00:00 2001 From: tetragon Date: Tue, 15 May 2007 01:39:48 +0000 Subject: Fix formatting of zero for 1000,00 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1195 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index f15ee00a..54d3be51 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -501,7 +501,7 @@ sub format_amount { if ( $dash eq "0" && $places ) { - if ( $myconfig->{numberformat} eq '1.000,00' ) { + if ( $myconfig->{numberformat} =~ /0,00$/ ) { $amount = "0" . "," . "0" x $places; } else { -- cgit v1.2.3