• Generate a uniformly-distributed integer within the range.

    Parameters

    • min: number

      The minimum bound (inclusive)

    • max: number

      The maximum bound (inclusive)

    Returns number

    A random integer within the range

    const y = SMath.rint(-4, 3); // -4
    
MMNEPVFCICPMFPCPTTAAATR