Hacker News new | ask | show | jobs
by jacques_chester 2972 days ago
> That implies the balances are being represented as floats ... how does something that basic happen at all?

Javascript only has floats. For the unwary this is a common source of bugs in frontends to financial systems.

Hopefully the backend is using some kind of decimal type.