This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Price Precision

Tags: None
(comma "," separated)
User avatar
kbob
Registered Member
Posts
28
Karma
0
OS

Price Precision

Tue Sep 08, 2009 10:06 am
I was a user of KMyMoney some time ago and then I stopped last year 2008 because it lacked some features like chart reports. I then tried almost all that's available for linux, but I couldn't find one program that really suited me.

When I tried again KMyMoney v1.0 last week, I was impressed by the improvement and the number of new features! Hats off to the developers, this is really the BEST Personal Finance Manager around!!

I only have an issue about "price precision" for currency rates. I live in a country that uses the CFA franc as unity, which is like the former French franc and has a fixed rate with the Euro: 1 euro= 655.957074169 francs, that is 9 digits as "price precision" which is what I have set on the general configuration.

I remember this feature worked quite well when I used KMyMoney last year, but now whenever I enter a transaction involving euros and francs, my rate: 655.957074169 becomes 655.957074000, no matter what I try to do.
Am I missing something, or is it a bug?
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Price Precision

Sun Sep 13, 2009 5:26 pm
Thanks for your nice comment about the project.

I just tried to duplicate this. I can only make it fail the way you describe it, if I set the price precision to 6. Once set to 9 it works w/o problems. Here's what I did:

* Set the price precision to 9
* Select Tools/Prices...
* Click the New button
* Select 'Euro (EUR)' as the security
* Select 'CFA Franc BEAC (XFA)' as currency
* Click 'OK' button
* Enter 655,957074169 as 'To amount'
* Click 'OK' button

Hope that helps. In case it does not, please get back here.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
User avatar
kbob
Registered Member
Posts
28
Karma
0
OS

Re: Price Precision

Mon Sep 14, 2009 8:30 am
Thanks so much for taking the time to reply.

I did exactly what you suggested and this is what I get now when the "Exchange Rate/Price Editor" box pops up:

For a transfer from Euro to CFA:
1 € = 655.957073171 XAF (instead of 655,957074169)
1 XAF = 0.0015244900 € (CORRECT !!)

For a transfer from CFA to Euro:
1 XAF = 0.001528777 €
1 € = 654.117647059 XAF

Despite these small discrepancies, the final amount converted by KMyMoney, which has obviously only 2 digit decimals, seems to be correct.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]