logoalt Hacker News

quibonoyesterday at 10:03 PM1 replyview on HN

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


Replies

worikyesterday at 10:54 PM

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.

show 1 reply