Revision 8901699...
Go back to digest for 29th December 2013Bug Fixes in Office
Thomas Baumgart committed changes in [kmymoney] /dialogs:
Fix precision of price returned from price entry dialog
The returned price was truncated by the global price precision which
could cause all kinds of trouble when an amount was entered but the
price precision was not large enough to yield the same result in the
equation result = amount / price * price;
Now the price is returned without precision loss in case it is based
on an amount (method is selected by the user in the dialog). In the
case the price is entered it is returned with the global price
precision in effect.
File Changes
Modified 2 files
- /dialogs
- kmymoney/kcurrencycalculator.cpp
- kmymoney/kcurrencycalculator.h
2 files changed in total