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

A third alternative is to directly store values in cents, relative to the unit. If you need to store 10 cents, you won’t store 0.1 nor 10, but 100.

I'm missing something here? Do you mean you're storing mills (₥)?



Simple typo, fixed :)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: