why double instead of float
Created at 20 Dec 2014, 23:39
why double instead of float
20 Dec 2014, 23:39
Due to round off errors while using float or double, it is advised that monetary values be represented using the decimal type.
Could someone at Spotware please explain why they decided to use double to represent their prices then? Would this not cause significant issues when performing certain calculations?
Very concerned. considering what this API is intended to do, and the finances that are at stake for professional use.
Spotware
31 Dec 2014, 11:04
Dear Trader,
We do not perform important calculations in double numbers. Most values are calculated in other data types and then copied to doubles in the API.
@Spotware