[Kmymoney-devel] [kmymoney4] [Bug 325953] New: rounding error when creating the transfer between two accounts in different currencies with option "to amount"

vy at samiznaetekogo.net vy at samiznaetekogo.net
Sun Oct 13 10:02:39 UTC 2013


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

            Bug ID: 325953
           Summary: rounding error when creating the transfer between two
                    accounts in different currencies with option "to
                    amount"
    Classification: Unclassified
           Product: kmymoney4
           Version: 4.6.3
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: vy at samiznaetekogo.net

the sum of transfer between two accounts in different currencies is being
stored as a number calculated via exchange rate, despite option "to amount" was
selected. For example when I get cash from my card account in ATM. If I
withdraw 1234 currency1 units from my account  in other country in ATM as 6000
local currency2 units, I will create transfer in KMymoney from my card account
into my cash account. I will  enter amount as 1234 in currency1 and select
option "to amount" and enter amount as 6000 currency2. But KMymoney stores
amount as 5 999,95 I think because it calculates amount with exchange rate
instead of just storing it. Its obviously a bug because I get exactly 1234
currency1 units less on my account and I get exactly 6000 currency2 units in
cash, but KMymoney refuses to store actual accounts states and this will lead
to some unrecorded amounts which can be hard to trace later.

Reproducible: Always

Steps to Reproduce:
1. create some accounts in different currencies
2. create transfer between accounts with option "to amount", so that exact
amount is not equal to that, calculated with exchange rate,

Actual Results:  
wrong amount stored.

Expected Results:  
Amount of transfer stored as entered.

Mark as major because accounting is a major feature of KMymoney. And errors in
accounting is a major feature that is not working as expected.

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


More information about the KMyMoney-devel mailing list