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

If you have a decimal then you should store it as a Decimal type, not a float nor an int. This is why Decimal types exist - the fact that most programming languages don't have a native Decimal type baffles me.


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

Search: