Comment by boomlinde
6 years ago
You probably want some smaller unit than a dollar for currency as well, in which case it becomes of a problem with even smaller amounts.
I really see no reason to use any other representation for currency than decimal fixed point. Store the amount as mils or whatever unit suits your use case.
No comments yet
Contribute on Hacker News ↗