Hi,
My app is implemented in C#. I just experienced a rounding issue: Requesting quote data for "EC Z4" I got a BasicQuote.dLast value of 1.2750000000000001. Obviously this price is not rounded properly.
Here are my questions:
- Is data sent by eSignal properly rounded ?
- Is this an issue of the MS .NET <-> COM interop ?
- Do I have to care on proper rounding on any (!) floating point value returned by the ActiveX API ?
I know this issue can be resolved by doing rounding on my end. Nevertheless, in case this is an issue on eSignal app's end, it should be fixed.
Regards
My app is implemented in C#. I just experienced a rounding issue: Requesting quote data for "EC Z4" I got a BasicQuote.dLast value of 1.2750000000000001. Obviously this price is not rounded properly.
Here are my questions:
- Is data sent by eSignal properly rounded ?
- Is this an issue of the MS .NET <-> COM interop ?
- Do I have to care on proper rounding on any (!) floating point value returned by the ActiveX API ?
I know this issue can be resolved by doing rounding on my end. Nevertheless, in case this is an issue on eSignal app's end, it should be fixed.
Regards
Comment