• nous@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Decimal does come at a cost though, being slower than raw floats. When you don’t need precision but do need performance then it is still valid to use floats. And quite often you don’t need absolute precision for things.