[kmymoney4] [Bug 345655] Rounding problems between checking and investment account

Cristian Oneț via KDE Bugzilla bugzilla_noreply at kde.org
Mon Jun 13 13:30:14 UTC 2016


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

Cristian Oneț <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/kmym |http://commits.kde.org/kmym
                   |oney/88040d6c3f43ee67819110 |oney/dd5bfdd80e64ec30ac10b1
                   |87dd12801e890fd8b1          |3c6a0dd7aa818bd1d2

--- Comment #22 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit dd5bfdd80e64ec30ac10b13c6a0dd7aa818bd1d2 by Cristian Oneț, on behalf
of Thomas Baumgart.
Committed on 13/06/2016 at 13:22.
Pushed by conet into branch 'frameworks'.

Reduce the precision of shares and values

The problem described in bug 345655 is caused by a fractional part of the
splits value that is larger than the fractional part of the accounts currency.
This leads to the effect, that amounts are displayed with correctly
but the underlying amount used for calculations is not equal to the
amount displayed. This will end up in KMyMoney presenting the user
strange messages like 'Unassigned value of 0.00' which do not make
sense. The difference is in reality between 0 and 0.01, e.g. 0.008.
FIXED-IN: 4.8.0
REVIEW: 128061

M  +32   -7    kmymoney/mymoney/mymoneyfile.cpp
M  +5    -0    kmymoney/mymoney/mymoneyfile.h
M  +127  -0    kmymoney/mymoney/mymoneyfiletest.cpp
M  +1    -0    kmymoney/mymoney/mymoneyfiletest.h

http://commits.kde.org/kmymoney/dd5bfdd80e64ec30ac10b13c6a0dd7aa818bd1d2

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


More information about the KMyMoney-devel mailing list