3 ms·
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
by Will_Parker 7y 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.