[kmymoney] [Bug 403249] When buying / selling shares for an investment, the value is rounded to two decimal places

Thomas Baumgart bugzilla_noreply at kde.org
Sat Jan 19 15:31:19 GMT 2019


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

--- Comment #3 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit e38492cbc059796addb5a62861e75b851b2428e0 by Thomas Baumgart.
Committed on 19/01/2019 at 15:27.
Pushed by tbaumgart into branch '5.0'.

Fix security creation logic

In case no smallest account fraction is provided in the ctor of a
MyMoneySecurity object it should use the same value as provided for the
smallest cash fraction. Providing a default value of 100 destroys this
logic. This forced Palladium to have values always rounded to two
decimals.

In case the user has such a security on file there is no other way as
manually fixing it by copying the value from the SCF attribute to the
SAF attribute in the XML file and the value in the smallestCashFraction
column to the smallestAccountFraction column in the database.

M  +1    -1    kmymoney/mymoney/mymoneysecurity.h

https://commits.kde.org/kmymoney/e38492cbc059796addb5a62861e75b851b2428e0

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


More information about the KMyMoney-devel mailing list