Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Integer cents implies a specific rounding mode (truncation). That's probably not what you should be using. Floating point cents gets the best of both worlds (if you set the right rounding mode).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: