DriveWorks Solo 15: RandBetween [send feedback...]

Syntax

RANDBETWEEN( [ Smallest Number], [ Largest Number ] )

Smallest Number is the smallest integer that can be returned, when the RANDBETWEEN function is calculated.

Largest Number is the largest integer that can be returned, when the RANDBETWEEN function is calculated.

The RANDBETWEEN function, when calculated, returns a random integer between the smallest number and the largest number.

Examples

Rule

Meaning
RANDBETWEEN(NumberTextBoxReturn, CustomerCountTextBoxReturn)The RANDBETWEEN function will return a random integer between the return value from the NumberTextBox and the return value from the CustomerCountTextBox.

Example Outcomes

NumberTextBoxReturn Value

CustomerCountTextBoxReturn Value

Result of the RANDBETWEEN function

15Either 1,2,3,4 or 5
99100Either 99 or 100

Table of Contents