• @Lmaydev
    link
    41 year ago

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

    • larvyde
      link
      fedilink
      11 year ago

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

      • @Lmaydev
        link
        11 year ago

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