summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-27 21:00:36 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-27 21:00:36 +0000
commitab343f33238ca1032831421aed86de520848c11c (patch)
treefa3dd9df7e8a9749ac722750510e49865788e49a
parentd0c9ca2b57de7935de8ef3e9a51242ba4d03907d (diff)
Fixing rounding problem in pre-1.2.5
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1113 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index fbf678af..f0a581cd 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -554,7 +554,7 @@ sub parse_amount {
my $decimalplaces = length $1 + length $2;
$amount = new Math::BigFloat($amount);
- $amount->accuracy($decimalplaces);
+ #$amount->accuracy($decimalplaces);
return ( $amount * 1 );
}