@mikuroxina/mini-fn
    Preparing search index...

    Function fromNumber

    • Transforms a number into a Tropical.

      Parameters

      • num: number

        Source integer.

      Returns Tropical.Tropical

      The new number of Tropical.

      Throws

      It throws an error only if num is negative infinity or NaN.