gnucash maint: Bug 779217 - Transactions rounded to 5 decimal places when opening file.
jralls at code.gnucash.org
Fri Mar 10 16:28:03 EST 2017
Updated via https://github.com/Gnucash/gnucash/commit/3889606d (commit)
from https://github.com/Gnucash/gnucash/commit/bc50f3da (commit)
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Mar 10 13:21:02 2017 -0800
Bug 779217 - Transactions rounded to 5 decimal places when opening file.
xaccSplitSetValue and xaccSplitSetAmount round to the denominator found by
get_currency_denom and get_commodity_denom. The problem was that if the
commodity was unfindable because either the splitâs parent or account hadnât
been set (as is the case during loading, because the parent isnât yet complete)
the returned denominator would be 100000, smaller than the max supported.
That would cause the value/amount to be prematurely rounded.
Summary of changes:
src/engine/Split.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-patches