Hacker News new | ask | show | jobs
by Copenjin 997 days ago
Minor disaster with the probability of becoming something worse, you never know where these values will end up being used/stored and it's likely that somewhere else in your code some weird form of equality will start appearing at some point (value1-value2<1E-04, lol).

There are a lot of alternatives, use them.

Never use floats for prices and rates.