Hacker News new | ask | show | jobs
by mrduncan 6174 days ago
As a bonus, this strategy also makes it (relatively) simple to handle multiple currencies. By using raw integers, you never have currency information attached so it's a lot tougher (and messier) to keep track of the currency.