• @Lmaydev
      link
      411 months ago

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

      • larvyde
        link
        fedilink
        111 months ago

        Yea but at those values floating points can’t represent fractions anyway

        • @Lmaydev
          link
          111 months ago

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