math.ql

math.ql
Contents of the file.

Function Overview

Function Description
native fun random(min, max) Generates a random integer between an inclusive lower bound and an exclusive upper bound.

Functions

native fun random(min, max) link

Generates a random integer between an inclusive lower bound and an exclusive upper bound.

Params
min ( int )

The inclusive minimum range of the random number

max ( int )

The exclusive maximum range of the random number

Returns int

A random integer between the given range