Get the latest tech news
Float and integer arithmetic follow two different paradigms
When working with floats, we tend to reuse the more familiar integer arithmetic patterns. More specifically, we always try to prevent a disaster rather than reacting to it.
None
Or read this on Hacker News