You can contact me, and review github.com/robaho/fixed it is more designed for
performance over flexibility the decimal.Decimal being more suited for the
latter.
> On Mar 28, 2019, at 5:53 PM, Marcin Romaszewicz wrote:
>
> A huge +1 on that last comment. You never want to store currency in fl
A huge +1 on that last comment. You never want to store currency in
floating point, but rather some form of fixed point notation, like your
pennies suggestion.
Compounding errors on floating point representations of currency kill you.
For example, $0.01 is not exactly representable as float. How m
On Thursday, March 28, 2019 at 2:41:26 PM UTC-4, Daniel Theophanes wrote:
>
> If you represent decimals or money in Go, I'd like to hear from you:
>
> https://docs.google.com/forms/d/e/1FAIpQLScqXYCCCS4fTJXnRvB0qDWsbDXFL9tBBtwDY4y3Ym953nq5MQ/viewform
>
> I work on database/sql and a few sql drive