3 ms·
He really should have used plain integers and calculated in cents.
by anonymous 14y ago
He really should have used plain integers and calculated in cents.
- geon 14y agoThat is the definition of fixed point. (Although, if you do it for anything else than currency, you probably would do it in base 2 instead of 10. And yes, I know every base is base 10.)