precision in currency dialog for BTC accounts

Felix Leimbach felix.leimbach at gmail.com
Sat Mar 19 04:38:46 UTC 2016


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