[Kmymoney-devel] [BUG] Conversion of foreign currency to base currency not precise

Thomas Baumgart thb at net-bembel.de
Tue Mar 23 08:12:07 CET 2010


Hallo Kilian,

On Tuesday 23 March 2010 01:20:39 Kilian Lackhove wrote:
> hello kmymoney devs!
>
> this bug exists in 1.0.2 and todays svn checkout of the kde4 version. Im
> using arch-linux x86.
>
> My base-currency is euros and i have an account that uses swedish krones
> (SEK).
>
> The bug:
> Go to the SEK-accounts ledger view and add a transfer from the EUR-account
> to the SEK-account, lets say SEK 2000,86. In the currency dialog tell
> kmymoney that this was 200 EUR and apply.
> Checking the ledger-view of the EUR-account, you will find 200.09 EUR
> instead. 9 cents too much.

Goto the settings dialog and increase the price precision to 6 digits and the 
problem is gone (after you edit the transaction and assign it the 200 EUR 
again).

> When the transfer is added from the EUR-account with 200 EUR and the SEK
> amount of 2000.86 is entered, it works fine.

It's the classic rounding problem.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
'Knowing a computer language is neither a necessary nor a sufficient
condition to know how to construct a computer program' -- J.R. Tyrer
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100323/d4d096b6/attachment.sig 


More information about the KMyMoney-devel mailing list