Y
Hacker News
new
|
ask
|
show
|
jobs
by
xvilka
1724 days 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
1 comments
MichaelBurge
1723 days ago
Ethereum uses integers to store transaction amounts internally. Integers are fixed-point already, so that library is completely irrelevant.
link
xvilka
1723 days ago
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.
link