Siebel eScript Language Reference > C Language Library Reference > Clib Mathematical Methods >

Clib Create Random Number Method


The Clib Create Random Number method creates a pseudo-random number between 0 and RAND_MAX, inclusive. The value of RAND_MAX depends on the operating system. It is typically 32,768.

The initial value of the random number generator and earlier calls to the Clib Create Random Number method affects the sequence of pseudo-random numbers. For more information, see Clib Initialize Random Number Generator Method.

Format

Clib.rand()

Related Topics

For more information, see Get Random Number Method.

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.