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

Might be stored as an int in cents (or whatever the tick size is).


That's what I would do. Would never trust floating point numbers with something as important as currency.




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

Search: