RE: [Quickfix-developers] [qfj] double and not BigDecimal?
Brought to you by:
orenmnero
|
From: Steve B. <sb...@sm...> - 2006-03-17 15:28:42
|
J=F6rg, I've searched the SF mailing list archives for the threads you referenced a and I didn't find them. Can you post a link to one=20 of the messages in each thread? Thanks, Steve Bate Smart Trade Technologies Phone: +33 4 42 90 03 97 http://www.smart-trade.net/ =20 > -----Original Message----- > From: qui...@li...=20 > [mailto:qui...@li...] On=20 > Behalf Of Joerg Thoennes > Sent: Thursday, March 16, 2006 10:41 PM > To: Oren Miller > Cc: Graham Miller; qui...@li... > Subject: Re: [Quickfix-developers] [qfj] double and not BigDecimal? >=20 > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html >=20 > Oren Miller wrote: > > QuickFIX Documentation:=20 > > http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX Support: http://www.quickfixengine.org/services.html > >=20 > > Did QuickFIX actually return this value to you or did you do some=20 > > calculations on it before seeing this price? >=20 > As a side note: >=20 > This issue has already been discussed a while ago; see the=20 > message threads: >=20 > * QF java interface: conversion from double fields to=20 > BigDecimal give imprecise results > * price as double >=20 > For Java, a good default would be to use BigDecimal, but for=20 > C++ you would need a BCD lib. > So using the underlying string directly is the safest way at=20 > the moment. >=20 > Cheers, J=F6rg >=20 > -- > Joerg Thoennes > http://macd.com > Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH > Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers >=20 |