Rand()

Generates a pseudo-random number in the range 0 - 1.

Rand( algorithm=string );

Returns: Number

Argument Description
algorithm
string, optional

The algorithm to use to generate the random number.

Examples

writeDump(rand() GTE 0 and rand() LTE 1);
writeDump(rand("SHA1PRNG") GTE 0 and rand() LTE 1);

See also