Rexx - randu



This method returns a pseudo-random number between 0 and 1.

Syntax

randu() 

Parameters

None

Return Value

Returns a pseudo-random number between 0 and 1.

Example

/* Main program */ 
options arexx_bifs 
say randu() 

When we run the above program we will get the following result.

Output

0.396464774
rexx_regina.htm
Advertisements