Re: [Kmymoney-devel] Access Alkimia numerator and denominator

2014-11-06 Thread Thomas Baumgart
Hi, On Thursday 06 November 2014 12:17:23 Cristian Oneț wrote: > Hi, > > If the AB_Value_fromString function can work with the > "numerator/denominator" format (for example: 24839/25) I would prefer > using AB_Value_fromString(value.toString().toLatin1().data()) where > value is an AlkValue (or

Re: [Kmymoney-devel] Access Alkimia numerator and denominator

2014-11-06 Thread Cristian Oneț
Hi, If the AB_Value_fromString function can work with the "numerator/denominator" format (for example: 24839/25) I would prefer using AB_Value_fromString(value.toString().toLatin1().data()) where value is an AlkValue (or MyMoneyMoney). This would mean using the existing API. Regards, Cristian 20

Re: [Kmymoney-devel] Access Alkimia numerator and denominator

2014-11-06 Thread Christian Dávid
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 whi

[Kmymoney-devel] Access Alkimia numerator and denominator

2014-11-05 Thread Christian Dávid
Hi, this discussion started in review request 120815 [1]. But that is the wrong place (shame on me). Christian David 1 day ago (Nov. 4, 2014, 7:42 nachm.) > […] > > Another question: I need access to the numerator and denominator to convert > a MyMoneyValue to the value type of the online ban