top | item 16948197

(no title)

peoplewindow | 7 years ago

That implies the balances are being represented as floats and turned directly into strings ... how does something that basic happen at all? Is Sabadell's Spanish web UI like that too? No wonder they're screwed

discuss

order

jacques_chester|7 years 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.