precision in currency dialog for BTC accounts

Thomas Baumgart thb at net-bembel.de
Sat Mar 26 05:58:08 UTC 2016


Hi,

I think we had some users in the past who tried to get rid of some entries and 
that is why we run this part of the application only when creating a new file.  
Otherwise, those entries would reappear all the time.

Thomas


On Sunday 20 March 2016 09:11:01 Cristian Oneț wrote:

> According to: git tag --contains 3546eb8c4086ea556b918f462674628986d8fb26
> 4.7.0
> 4.7.1
> 4.7.2
> 
> Your version contains the currency, the problem is that it will only
> be added when a new file is created. Thomas do you remember why
> KMyMoneyView::loadDefaultCurrencies was implemented this way?
> 
> 2016-03-19 12:16 GMT+02:00 Felix Leimbach <felix.leimbach at gmail.com>:
> > 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.curr
> >> > encies.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.cur
> >> >> rencies.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
-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Linux & Open Source Software - aaah, the sweet smell of 'Free'dom
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20160326/59ce86e6/attachment.sig>


More information about the KMyMoney-devel mailing list