Hacker News new | ask | show | jobs
by bobmcnamara 623 days ago
> if your requirement is to be able to represent values exactly to the penny, then you can simply do the same thing but using a floating point to represent cents and represent $1.10 as the floating point 110.0.

Not if you need to represent more than about 170 kilo dollars.