3 ms·
You never want to put currency in a float because floats cannot accurately represent most base 10 rational numbers. A full explanation can be found here: http:
by speleding 13y ago
You never want to put currency in a float because floats cannot accurately represent most base 10 rational numbers.
A full explanation can be found here: http://stackoverflow.com/questions/3730019/why-not-use-double-or-float-to-represent-currency http://stackoverflow.com/questions/3730019/why-not-use-doubl...