Navigation: Function Reference > General Utility Functions > random()

random()

Top  Previous  Next

random : Extended;

 

Returns a random number in the range of 0 <= X < 1.0. Call randomize function first.

 

Parameters

 

none

takes no parameters

 

var f: Double;

 

randomize;

 

f := random;