3 ms·
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
by xvilka 5y ago
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 https://github.com/paupino/rust-decimal
- MichaelBurge 5y agoEthereum uses integers to store transaction amounts internally. Integers are fixed-point already, so that library is completely irrelevant.
- xvilka 5y agoI 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.