• Lmaydev
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Because ints are way smaller. Over a certain value it would always fail.

      • Lmaydev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Exactly. So if cast to int you’d either get an error or 0 for everything above a certain value.