diff options
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Form.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index a0a3fb19..94a96dc0 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -494,11 +494,6 @@ sub parse_amount { return $amount; } my $numberformat = $myconfig->{numberformat}; - my $decimal_regex = /\.\d+$/; - if (($numberformat !~ $decimal_regex) and ($amount =~ $decimal_regex)){ - # We have already parsed this number - $numberformat = "1000.00"; - } if (($numberformat eq '1.000,00') || ($numberformat eq '1000,00')) { |