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

Don't many financial transactions in US dollars get stored as integers anyway? The number of pennies, in other words.

Then just convert to dollars with a decimal place when needing to display, etc.

I recall this being pretty normal regardless of what database you use.



A lot of times they are converted to BigInt and then stored as strings so different languages don't mess with the real value




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

Search: