[kmymoney4] [Bug 383239] New: Automatic VAT split causes offset due to rounding error

Thomas Baumgart bugzilla_noreply at kde.org
Mon Aug 7 15:50:53 UTC 2017


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

            Bug ID: 383239
           Summary: Automatic VAT split causes offset due to rounding
                    error
           Product: kmymoney4
           Version: 4.7.2
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: tbaumgart at kde.org
  Target Milestone: ---

Created attachment 107126
  --> https://bugs.kde.org/attachment.cgi?id=107126&action=edit
Split editor showing offset of one cent

Gee Backhaus reported:

I am having to consider tax (VAT) for the first time in Kmymoney and have
found a rounding error. I followed the excellent instructions in your pdf
manual and they work like a dream until there's a number that it is unable
to resolve.

*Example*: I am entering the gross amount of 17.07 and the associated tax
amount is 20%.
On a calculator 17.07 gives 14.225 + 2.845
In Kmymoney 17.07 gives 14.22 + 2.84 (automatically as shown in the
attached). So, Kmymoney appears to round each value down and leave me with
a discrepancy - which I am also unable to override manually.

This is on 4.7.2 but is also in current git master.

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


More information about the KMyMoney-devel mailing list