Revert r19475. That revision fixed one rounding error, but introduced another one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19568 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2010-09-11 09:55:05 +00:00
parent a60ba8861f
commit b56930b2b6

View File

@ -1290,7 +1290,7 @@ gncEntryRecomputeValues (GncEntry *entry)
entry->i_taxincluded, entry->i_taxincluded,
entry->i_discount, entry->i_disc_type, entry->i_discount, entry->i_disc_type,
entry->i_disc_how, entry->i_disc_how,
0, denom,
&(entry->i_value), &(entry->i_disc_value), &(entry->i_value), &(entry->i_disc_value),
&(entry->i_tax_values)); &(entry->i_tax_values));
@ -1299,7 +1299,7 @@ gncEntryRecomputeValues (GncEntry *entry)
(entry->b_taxable ? entry->b_tax_table : NULL), (entry->b_taxable ? entry->b_tax_table : NULL),
entry->b_taxincluded, entry->b_taxincluded,
gnc_numeric_zero(), GNC_AMT_TYPE_VALUE, GNC_DISC_PRETAX, gnc_numeric_zero(), GNC_AMT_TYPE_VALUE, GNC_DISC_PRETAX,
0, denom,
&(entry->b_value), NULL, &(entry->b_tax_values)); &(entry->b_value), NULL, &(entry->b_tax_values));
entry->i_value_rounded = gnc_numeric_convert (entry->i_value, denom, entry->i_value_rounded = gnc_numeric_convert (entry->i_value, denom,