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

Yeah, this immediately broke my idea of only dealing with cents and integers. All of a sudden I wanted to price something $0.001 and it all came crashing down.


In the real world when you place a transaction, how do you pay a fraction of a cent?


As the parent says it's the unit price (with quantity of millions) so the end amount will be rounded but all the steps before that need to be able to handle fractions.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: