[kmymoney] [Bug 343029] Share * Prices/share is incorrectly rounded when adding investment transactions

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Apr 27 16:44:49 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=343029

kde at jason-wong.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at jason-wong.org

--- Comment #9 from kde at jason-wong.org ---
I have the same problem as the OP (Version 4.7.2 Using KDE Development Platform
4.14.18). My original problem started when one time my broker bought/sold
shares at slightly different times resulting in an average share price that was
probably an irrational number. My "fix" for this was to change the precision
settings to 10 digits which allowed me to enter a more "precise" figure for the
share price. This enabled me to get the result I wanted.

However later on some entries triggered this bug. So far using allan's
workaround in comment 1 has fixed this problem. Is this bug caused by using
floats instead of BCDs?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list