Re: [Quickfix-developers] [qfj] double and not BigDecimal?
Brought to you by:
orenmnero
|
From: Joerg T. <Joe...@ma...> - 2006-03-16 21:41:33
|
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? As a side note: This issue has already been discussed a while ago; see the message thread= s: * QF java interface: conversion from double fields to BigDecimal give imp= recise results * price as double For Java, a good default would be to use BigDecimal, but for C++ you woul= d need a BCD lib. So using the underlying string directly is the safest way at the moment. 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 |