4 ms·
I did a web project in the gambling space ~10 years back - we were legally required to perform all calculations as integers in ten thousandths of a cent (or mil
by bigiain 8y ago
I did a web project in the gambling space ~10 years back - we were legally required to perform all calculations as integers in ten thousandths of a cent (or millionths of a dollar).
We chose to _not_ do _any_ calculations client side in Javascript...
- dotancohen 8y agoWhich regulation is that? I've worked on financial applications, but not gambling, and I've not heard of this regulation. I should probably know about it!
- ajanuary 8y agoI worked for a gambling company in the UK for a bit. They did all their maths in pennies, not thousandths of a penny.
- bigiain 8y agoAustralian, or possibly Tasmanian state regs. This would have been around 2011 or so (The Samsung Galaxy S2 was the "top of the range Android phone" at the time...)