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

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!