precision in currency dialog for BTC accounts

Cristian OneČ› onet.cristian at gmail.com
Sat Mar 19 09:20:27 UTC 2016


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