r19568 - gnucash/trunk/src/engine - Revert r19475. That revision fixed one rounding error, but introduced another one.
Geert Janssens
gjanssens at code.gnucash.org
Sat Sep 11 05:55:05 EDT 2010
Author: gjanssens
Date: 2010-09-11 05:55:05 -0400 (Sat, 11 Sep 2010)
New Revision: 19568
Trac: http://svn.gnucash.org/trac/changeset/19568
Modified:
gnucash/trunk/src/engine/gncEntry.c
Log:
Revert r19475. That revision fixed one rounding error, but introduced another one.
Modified: gnucash/trunk/src/engine/gncEntry.c
===================================================================
--- gnucash/trunk/src/engine/gncEntry.c 2010-09-10 18:54:37 UTC (rev 19567)
+++ gnucash/trunk/src/engine/gncEntry.c 2010-09-11 09:55:05 UTC (rev 19568)
@@ -1290,7 +1290,7 @@
entry->i_taxincluded,
entry->i_discount, entry->i_disc_type,
entry->i_disc_how,
- 0,
+ denom,
&(entry->i_value), &(entry->i_disc_value),
&(entry->i_tax_values));
@@ -1299,7 +1299,7 @@
(entry->b_taxable ? entry->b_tax_table : NULL),
entry->b_taxincluded,
gnc_numeric_zero(), GNC_AMT_TYPE_VALUE, GNC_DISC_PRETAX,
- 0,
+ denom,
&(entry->b_value), NULL, &(entry->b_tax_values));
entry->i_value_rounded = gnc_numeric_convert (entry->i_value, denom,
More information about the gnucash-changes
mailing list