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

Thomas Baumgart <t...@net-bembel.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |4.8.0
      Latest Commit|                            |http://commits.kde.org/kmym
                   |                            |oney/88040d6c3f43ee67819110
                   |                            |87dd12801e890fd8b1

--- Comment #20 from Thomas Baumgart <t...@net-bembel.de> ---
Git commit 88040d6c3f43ee6781911087dd12801e890fd8b1 by Thomas Baumgart.
Committed on 13/06/2016 at 12:07.
Pushed by tbaumgart into branch 'master'.

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/88040d6c3f43ee6781911087dd12801e890fd8b1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to