7 ms·
You're right, that's why some languages have built in data types that take care of this issue for you (i.e. decimal in C# or BigDecimal in Java)[1]. [1] http:/
by Nelkins 12y ago
You're right, that's why some languages have built in data types that take care of this issue for you (i.e. decimal in C# or BigDecimal in Java)[1].
[1] http://stackoverflow.com/questions/3730019/why-not-use-double-or-float-to-represent-currency http://stackoverflow.com/questions/3730019/why-not-use-doubl...