DriveWorks Pro 16: RandBetween [send feedback...]

RandBetween

This function, when calculated, returns a random number between the smallest number and the largest number.

Syntax

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

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

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

Examples

Rule

Meaning
RANDBETWEEN(NumberTextBoxReturn, CustomerCountTextBoxReturn)The RANDBETWEEN function will return a random number 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

154.71942959712792
9910099.7890158797563
Volatile Functions

Volatile functions constantly change value whenever they are calculated.

Do not use any volatile function in the File Name rule or Path rule for any item created by DriveWorks.

Volatile functions include:

Table of Contents