Hacker News new | ask | show | jobs
by fluoridation 623 days ago
The industry standard in finance is decimal floating point. C# for example has 'decimal', with 128 bits of precision.

On occasion I've seen people who didn't know any better use floats. One time I had to fix errors of single satoshis in a customer's database because their developer used 1.0 to represent 1 BTC.