[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [249] trunk/LedgerSMB/Form.pm



Revision: 249
          http://svn.sourceforge.net/ledger-smb/?rev=249&view=rev
Author:   einhverfr
Date:     2006-10-20 21:36:44 -0700 (Fri, 20 Oct 2006)

Log Message:
-----------
Removing old code to test for reparsing

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-10-21 04:27:44 UTC (rev 248)
+++ trunk/LedgerSMB/Form.pm	2006-10-21 04:36:44 UTC (rev 249)
@@ -494,11 +494,6 @@
 		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')) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.