[Kmymoney-devel] [kmymoney] [Bug 343029] New: Share * Prices/share is incorrectly rounded when adding investment transactions
zyzzyvette at gmail.com
zyzzyvette at gmail.com
Mon Jan 19 01:38:01 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=343029
Bug ID: 343029
Summary: Share * Prices/share is incorrectly rounded when
adding investment transactions
Product: kmymoney
Version: unspecified
Platform: Other
OS: other
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: General
Assignee: kmymoney-devel at kde.org
Reporter: zyzzyvette at gmail.com
When I go to add my investment transactions ("buy shares") and enter in the
shares and price per share, the resulting total is off by a few cents.
Reproducible: Always
Steps to Reproduce:
1. Start adding a new "Buy Shares" transaction to an investment account.
2. Under "Shares", enter "77.1010".
3. Under "Price/share", enter "12.97".
Actual Results:
Total is $999.98.
Expected Results:
Rounded total should be $1000.00.
No matter how I fiddle with the # shares, it seems that it can't end up with
any total between $999.98 and $1000.11. E.g., try entering 77.1050 vs
77.10500000000001 shares.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list