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

These systems use something like 10^-8 as the implied decimal in the real world. Some forex exchanges even go to 10^-9



Fiat currency can go to -4 i think, crypto currency going to -18. And that's whole units like cents P.S. crypto things are using uint256 internally, and this type don't exist in most languages. Using int64 can work out, sometimes, and will usually break soon enough




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: