RND
Function Type | Predefined function | ||
---|---|---|---|
Syntax | RND( <integerValue> ) | ||
Description | Returns a float containing a random number. The number returned is less than 1 and greater than or equal to 0. | ||
Argument | Description | ||
<integerValue> | Determines how the random number will be generated. <integerValue> is an optional parameter -- Rnd() may be used. | ||
Value of <integerValue> | Number returned | ||
<0 | The same number every time as determined by <integerValue> | ||
>0 | The next random number in the sequence. | ||
=0 | The number most recently generated. | ||
<integerValue> omitted | The next random number in the sequence. | ||
Returns | Float | ||
Example | This example returns a random number between 0 and 100. RND()x100 This example returns the next random number in the sequence. RND() |
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*