Hacker News new | ask | show | jobs
by Will_Parker 2317 days ago
In terms of purity, sure, but pragmatically, meh. You do need to round to cents in ui and after every calculation though. Exercise: how large do amounts need to be before losing a penny?

I used to evangelize integer cents but then I worked on a few systems with floats and the world didn't fall over.