mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 797677 - Price Database Saving Wrong Price for Foreign Currency
Don't round prices for storage, only for display.
This commit is contained in:
parent
8f68d54292
commit
218e18a433
@ -1634,7 +1634,6 @@ new_price(XferDialog *xferData, time64 time)
|
||||
else if (from == gnc_default_currency() && to != gnc_default_currency())
|
||||
value = swap_commodities (&from, &to, value);
|
||||
|
||||
value = round_price (from, to, value);
|
||||
price = gnc_price_create (xferData->book);
|
||||
gnc_price_begin_edit (price);
|
||||
gnc_price_set_commodity (price, from);
|
||||
|
Loading…
Reference in New Issue
Block a user