• nous
    link
    fedilink
    arrow-up
    7
    ·
    2 years 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.