Skip to main content

Random

An expression editor function that generates a random decimal number within a range.

Updated yesterday

Overview

This function returns a random number between the two values.

Note: the value can include endpoints.


Parameters

random(number1, number2)

Number 1

The minimum value (inclusive).

Number 2

The maximum value (inclusive).


For example...

random(1, 10)

Returns a random decimal between 1 and 10 (e.g., 5.742).

Did this answer your question?