Comment by hardwaregeek
4 years ago
That may be true but another case where floating point should be avoided is with money. Now think about all the times a web developer innocuously used a JS number to represent a price. I wouldn’t be surprised if floating point errors affected billions of dollars of transactions.
No comments yet
Contribute on Hacker News ↗