Hacker News new | ask | show | jobs
by hortense 884 days ago
To store dollars with a precision of 1 billionth of a cent, you store into your integers 1 billionth of cents instead of dollars.