Hacker News new | ask | show | jobs
by TomMasz 37 days ago
I certainly teach that. When we work problems involving money, I always recommend students use integers for cents and only convert to dollars and cents when they have to print them.