mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-30 04:33:55 -06:00
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:
parent
a60ba8861f
commit
b56930b2b6
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user