Re:The Mathematics Behind xkcd: A Conversation with Randall ...
by anonymous on Monday November 05, 2012 @05:31AM
(#4742939)
He really should have used plain integers and calculated in cents.
[ Parent
| on HN ]
Re:The Mathematics Behind xkcd: A Conversation with Randall ...
by geon on Monday November 05, 2012 @05:44AM
(#4742967)
That 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.)