Rand

Returns a pseudo-random number greater than or equal to 0 and less than 1.

Syntax

Rand()
Alea()

Remarks

The result of this function changes at random each time it is called.

This function is evenly distributed. For a Gaussian distribution, see GaussRand.

Example

Rand = a random number between 0 and 1

Classification

Maths