Bug 797677 - Price Database Saving Wrong Price for Foreign Currency

Don't round prices for storage, only for display.
This commit is contained in:
John Ralls 2020-04-14 14:24:37 -07:00
parent 8f68d54292
commit 218e18a433

View File

@ -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);