Follow

"Are there legit cases where money values cannot be represented as a float?"

not something I wanted to see in a code review comment at work

@roguelazer Display and only display. Never storage, calculations, transmission or anywhere where you'd need to do math on it.

@roguelazer ask them if you can calculate their paycheck with only floats

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!