Public bug reported:

On Bionic using quickfix 1.14.4+dfsg-1, the following line return the
incorrect value.

FIX::Price price;
message.getField (price);
double price = price.getValue();

The message is a FIX.4.2 execution report.

When the price is 191.61, the getValue() return 191.60999999999.
This is a known and fixed issue
https://github.com/quickfix/quickfix/issues/137

Maybe you can pull the stable version 1.15.1 for Disco (Ubuntu 19.04).


Thank you,

** Affects: quickfix (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821781

Title:
  quickfix (1.14.4+dfsg-1) double conversion incorrect values

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quickfix/+bug/1821781/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to