134
How Python Compares Floats and Ints: When Equals Isn’t Really Equal
(blog.codingconfessions.com)
This is a most excellent place for technology news and articles.
The issue is a lot of people use floating point numbers, but don't even know it.
How many programmers right now are using JS, the most popular language in the world? How many of them do you think understand floating point numbers and their theoretical levels of accuracy? How many of them are unknowingly using floating points to store currency values?
How many of them could accurately predict the result of the following?
Now imagine that as code to make sure you've paid the right amount in an online store. I guarantee you there is code out there right now that won't let you finish a sale if the total of the basket adds up a certain way.