[Kmymoney-devel] Access Alkimia numerator and denominator

Christian Dávid christian-david at web.de
Thu Nov 6 07:56:34 UTC 2014


Am Mittwoch, 5. November 2014, 20:46:20 schrieb Christian Dávid:
> I want to use it to make AB_VALUE* AB_Value_fromMyMoneyMoney(const 
> MyMoneyMoney& input) [2] better - using double here is not good. It will 
> convert the credit transfer value from KMyMoney to aqbanking.

I forgot: functions which could be used are

// s is the same as used in alkimia
AB_VALUE * 	AB_Value_fromString (const char *s)
AB_VALUE * 	AB_Value_fromInt (long int num, long int denom)
AB_VALUE * 	AB_Value_fromDouble (double i) // <- really bad, used now

> [2]
> https://projects.kde.org/projects/extragear/office/kmymoney/repository/revis
> ions/add-onlinebanking/entry/kmymoney/plugins/kbanking/aqbankingqtoperators.
> h



More information about the KMyMoney-devel mailing list