Hacker News new | ask | show | jobs
by quibono 31 days ago
I love how this sensible take is followed by a tornado of comments that boils down to "NEVER use floats JUST BECAUSE".
1 comments

Never use floats for financial calculations. Because hard won experience.

"Floats" are simulations of Real Numbers, and Reals are uncountable. Not what you want for finance, where everything is counted.

I suggest reading the comment I was replying to since it contextualises the answer quite well. Hard to find absolutes in real life outside of thermodynamics.