Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love how this sensible take is followed by a tornado of comments that boils down to "NEVER use floats JUST BECAUSE".


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: