3 ms·
Good grief... it's not like IEEE 754 is new by any stretch.
by jamesfinlayson 5y ago
Good grief... it's not like IEEE 754 is new by any stretch.
- cratermoon 5y agoYes but if you've spent your career working in a programming language that just does the Right Thing (per business/accounting rules), and you're thrown into a project with a language you don't know and need to do money math, it's not unreasonable to expect, until told otherwise, that 0.1 + 0.2 = 0.3. The COBOL-turned-Java programmers I worked with may not have been the best (nor is Java all that), but the fact that COBOL does money the way we intuitively expect "out of the box" is why it remains in wide use. What other language has a built-in Money type that handles error accumulation and rounding the way accountants expect?