precision in currency dialog for BTC accounts

Felix Leimbach felix.leimbach at gmail.com
Sat Mar 19 10:16:49 UTC 2016


Hi Cristian,

thanks. Seems like a useful feature especially with those digital currencies rising in popularity. We won't ever have all altcoins in existence in kmymoney I guess, so being able to add those manually is good.

Also, adding BTC as a known currency would be good. I wanted to open a bug for that too, but [1] suggests Thomas committed a patch [2] doing exactly that more than two years ago. However my self-compiled kmymoney-4.7.2 does not have that currency?!

Best regards
Felix

[1] https://bugs.kde.org/show_bug.cgi?id=307138
[2] git commit 3546eb8c4086ea556b918f462674628986d8fb26

On 19.03.2016 10:20, Cristian OneČ› wrote:
> Hi Felix,
>
> You're right, there is not way to change the precision from the user
> interface. That might be because this is a very rare operation, but I
> agree with you that it should be possible to do it from the UI so I
> opened this [1] wishlist item.
>
> Regards,
> Cristian
>
> [1] https://bugs.kde.org/show_bug.cgi?id=360728
>
> 2016-03-19 6:38 GMT+02:00 Felix Leimbach <felix.leimbach at gmail.com>:
> > Hi Christian,
> >
> > I had to edit the .kmy file directly and change the saf, ppu and scf properties of the BTC <CURRENCY> tag from 100 to 1000000.
> >
> > I can't find a place to configure that in the GUI as the currency dialog only displays name, ID and symbol. The link [1] also does not mention decimal places.
> >
> > It's working fine now but I'm wondering whether I'm missing a cleaner way than editing the XML?
> >
> > Thanks
> > Felix
> >
> > [1] https://docs.kde.org/stable4/en/extragear-office/kmymoney/details.currencies.html#details.currencies.newcurrency
> >
> >
> > On 14.03.2016 09:17, Cristian OneČ› wrote:
> >> Hi,
> >>
> >> You probably configured BTC to have two decimal places. The currency
> >> conversion dialog will represent the destination amount with the
> >> precision permitted by the destination currency.
> >>
> >> Regards,
> >> Cristian
> >>
> >> [1] https://docs.kde.org/stable4/en/extragear-office/kmymoney/details.currencies.html#details.currencies.newcurrency
> >>
> >> 2016-03-12 13:13 GMT+02:00 Felix Leimbach <felix.leimbach at gmail.com>:
> >> > Hi,
> >> >
> >> > when transferring money between accounts with different currencies the kcurrencycalculator.cpp dialog insists on rounding the target amount to two decimal places. This is a problem for BTC accounts where higher precision is required.
> >> >
> >> > In the global settings I've already set the precision to 8 decimal places. Interestingly that does work for XAU denominated accounts, but not others.
> >> >
> >> > I'm running the latest stable (4.7.2) and have added the BTC currency as per [1].
> >> > I've tried the account types "Checking" and "Savings" for the BTC account but it makes no difference.
> >> >
> >> > Is there a way to increase the precision?
> >> >
> >> > Thanks
> >> > Felix
> >> >
> >> > [1] https://bugs.kde.org/show_bug.cgi?id=307138
> >



More information about the KMyMoney-devel mailing list