Hacker News new | ask | show | jobs
by pests 894 days ago
Gas is sold in 9/10th of a cent fraction. What now?
1 comments

To store dollars with a precision of 1/10 cent, you store into your integers 1/10 cents instead of dollars.