Author: sichen Date: Mon Sep 3 22:15:00 2007 New Revision: 572526 URL: http://svn.apache.org/viewvc?rev=572526&view=rev Log: Set ledger rounding to be 1 digit more than any other financial rounding setting to avoid rounding problems
Modified: ofbiz/trunk/applications/accounting/config/arithmetic.properties Modified: ofbiz/trunk/applications/accounting/config/arithmetic.properties URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/arithmetic.properties?rev=572526&r1=572525&r2=572526&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/config/arithmetic.properties (original) +++ ofbiz/trunk/applications/accounting/config/arithmetic.properties Mon Sep 3 22:15:00 2007 @@ -20,8 +20,9 @@ # Arithmetic properties for configuring BigDecimal calculations # +# This is only used for rounding of GL posting trial balances and should be 1 digit more than any other financial rounding setting. +ledger.decimals = 4 # These should correspond to the convention in minilang which is different than that for BigDecimal in Java. See simple-methods.xsd -ledger.decimals = 2 ledger.rounding = HalfUp # For setting decimal precision and rounding method of operations related to invoices