Siebel eScript Language Reference > Siebel eScript Commands > Clib Object Math Methods >
Clib.rand() Method
This method generates a random number between 0 and RAND_MAX, inclusive. Syntax
Clib.rand()
Returns
A pseudo-random number between 0 and RAND_MAX, inclusive. The value of RAND_MAX depends upon the operating system, but is typically 32,768. Usage
The sequence of pseudo-random numbers is affected by the initial generator seed and by earlier calls to Clib.rand(). If the seed is not supplied, then a random seed is generated in a manner that is specific to the operating system in use. See Also
Clib.srand() Method Math.random() Method
|