Skip to content

Module monkey.random

Leonard Thieu edited this page Aug 23, 2019 · 2 revisions

The random module provides functions to generate random numbers.

Globals

  • Seed : Int

Functions

Detailed Discussion

The random module provides functions to generate random numbers.

Function Documentation

Function Rnd : Float ()

Returns a random float in the range 0 (inclusive) to 1 (exclusive).

See also

Function Rnd : Float ( range:Float )

Returns a random float in the range 0 (inclusive) to range (exclusive).

See also

Function Rnd : Float ( low:Float, high:Float )

Returns a random float in the range low (inclusive) to high (exclusive).

See also

Clone this wiki locally