Basic Syntax CrystalClear Syntax While Printing Records

Rnd(),
Rnd( seed )


Return a (pseudo-)random number between 0 (inclusive) and 1 (exclusive).

Usage:

Rnd()
Rnd( seed )

Parameter:

seed The seed used to create the pseudo-random numbers. If the seed is 0, the last used random value is returned. If the seed is negative, the random number generator is initialized with this number, which makes it possible to get random yet reproducible results. If the seed is positive, nothing special happens - the random numbers will not be reproducible.

Return:

Numeric value

Example:

rnd()	//0.183
rnd()	//0.511

See also:


i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to crystalclear@inetsoftware.de.

This page is: very poor very good
Comment: