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

Kilian Lackhove Kilian.Lackhove at web.de
Tue Mar 23 09:59:41 CET 2010


Am Dienstag 23 März 2010 08:12:07 schrieb Thomas Baumgart:
> 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.

Hello List,
thanks a lot for the fast reply, that solved the problem. I even saw the 
precision settings, but thought it was about the displayed digits and ignored 
it. Maybe change the settings name to something like internal precision?

crabman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100323/069def76/attachment-0001.sig 


More information about the KMyMoney-devel mailing list