RAND

Returns a pseudo-random value on the closed interval [0.0, 1.0], from a uniform distribution.  

Note:  
The spectral distribution of this sequence may not meet your needs. You might consider writing your own function if the demands of your application require a high-quality, pseudo-random sequence. For further information on implementing the RAND( ) function in Adams View, refer to the main pages on your system to see how the Standard C library function 'rand()' is implemented.

Format

RAND()

Argument

None

Examples

The following examples illustrate the use of the RAND function:
 
Function
RAND ()
Result
0.59893834
 
Function
RAND ()
Result
0.28873462