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

This is why in "classic" fintech they used so-called "decimal" fixed-point numbers for decades. To not use COBOL as an example let's check something more modern, e.g. Rust[1].

[1] https://github.com/paupino/rust-decimal



Ethereum uses integers to store transaction amounts internally. Integers are fixed-point already, so that library is completely irrelevant.


I didn't mean Ethereum itself, apparently the bug is in whatever code written at the higher level, inside the exchange or whatever service they use.




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

Search: