Hacker News new | past | comments | ask | show | jobs | submit login

Generally what is done is that “int 1 != $0.01” rather it’s “int 100 = $0.01”, as in the base of the integer is 1/100th a cent. That doesn’t perfectly solve your example case perfectly though admittedly.



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

Search: