Hacker News new | ask | show | jobs
by Nelkins 4335 days 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-doubl...