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