This function, when calculated, returns a random number between the smallest number and the largest number.
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.
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. |
NumberTextBoxReturn Value | CustomerCountTextBoxReturn Value | Result of the RandBetween function |
---|---|---|
1 | 5 | 4.71942959712792 |
99 | 100 | 99.7890158797563 |
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:
These are Rand and RandBetween.