Home Search

DriveWorks Pro 22
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 ])

Where:

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: