Decimal: A high-performance, arbitrary-precision, floating-point decimal library
godoc.org
godoc.org
It's worth remembering that the "first" computer, the ENIAC, used decimal arithmetic. A decimal arithmetic package was one of the first things I wrote for my Z-80 homecomputer as I couldn't imagine anyone working with money using binary floating point! [2] That said, isn't Fintech mostly using scaled integers these days?
[1] https://en.wikipedia.org/wiki/Decimal32_floating-point_forma... [2] My horror was refreshed recently when I compared various mortgage calculators on the web. Not two of them got the exact same amortization schedule :( :(