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

Thomas Baumgart <tbaumg...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #1 from Thomas Baumgart <tbaumg...@kde.org> ---
The problem stems from the internal calculation of the tax part. It is always
calculated by subtracting the net value from the gross value. The problem is,
that it does not adjust the net value to the rounded one before doing the
subtraction. This in fact leaves the tax part as 2.855 in your example which is
then rounded again.

It should round 14.225 to 14.22 and then doing the subtraction to 17.07-14.22
which results in 2.85 and everyone is happy. Hey, you found a bug!  And a
rather old one: it lives there for more than 10 years now. Congrats.

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

Reply via email to