random

Syntax

native random(max);

Usage

max
Exclusive upper bound

Description

Returns a random number between 0 and a specified upper bound.

Return

Random value