random()

Scalar. Returns a random value greater than or equal to 0 and less than 1.

Syntax

random()

Usage

Returns a random value greater than or equal to 0 and less than 1. The function does not take any arguments, and the function returns a float.

Example

random() may return 0.54 on a call, for example.