This function returns the value stored in a number variable, which was previously created using the setNumber() function.

Syntax
getNumber(variableName) #Output: Number
Examples
Expression parserDescription
getNumber("myNumber")

This example returns the value stored in the variable named "myNumber", e.g.:

3

Additional information

Parameters used in this function

ParameterInput (data type)Description
variableName

TEXT

The name of the stored variable.
Output

This function returns a NUMBER

To return the value you must have created the variable before, using the setNumber() function within the same expression.


Use cases and examples