Hi all, ich habe ein paar Probleme mit der neuen Darstellung:
6:2007/12/05 22-25-32:(null)(20103):mymoneybanking.cpp: 520: Adding
transaction
Value:
58184456566852616694523094906498756766597/42535295865117307932921825928971026432
(1367.91 EUR)
Das ist ein Debug Output erzeugt mit
AB_Value_Dump(val, stderr, 2);
Das ganze will ich mit
kt.m_amount=MyMoneyMoney(AB_Value_GetNumerator(val),
AB_Value_GetDenominator(val));
Das geht aber bei dem oben aufgezeigten Wert insoweit schief, als ich
innerhalb von KMyMoney jetzt einen Nenner mit dem Wert 0 habe - da erinnern
wir uns doch gerne an die Mathe Stunde: Teilen durch 0 ging irgendwie nicht
und das bekomme ich hier in Form eine SIGSEGV auch mit ;)
Irgendeine Idee wie ich da weiterkomme?
BTW: KMyMoney arbeitet mit 64 bit Zählern und Nennern.
--
Regards
Thomas Baumgart
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Unix is the most user friendly system I know, the point is
that it is really selective about who is indeed its friend.
-------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________ Aqbanking-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aqbanking-devel
