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

SF.net SVN: ledger-smb: [1113] branches/1.2/LedgerSMB/Form.pm



Revision: 1113
          http://svn.sourceforge.net/ledger-smb/?rev=1113&view=rev
Author:   einhverfr
Date:     2007-04-27 14:00:36 -0700 (Fri, 27 Apr 2007)

Log Message:
-----------
Fixing rounding problem in pre-1.2.5

Modified Paths:
--------------
    branches/1.2/LedgerSMB/Form.pm

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2007-04-27 15:16:14 UTC (rev 1112)
+++ branches/1.2/LedgerSMB/Form.pm	2007-04-27 21:00:36 UTC (rev 1113)
@@ -554,7 +554,7 @@
     my $decimalplaces = length $1 + length $2;
 
     $amount = new Math::BigFloat($amount);
-    $amount->accuracy($decimalplaces);
+    #$amount->accuracy($decimalplaces);
 
     return ( $amount * 1 );
 }


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