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

I thought your "real-world constraint" existed too. Then I had to keep track of thousandths of a cent.

When you have experienced the "no, a cent is no longer granular enough" problem, the conversion of DECIMAL(7,2) to DECIMAL(9,4) and the attendant code compatibility is something you'll appreciate.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: