This function creates a variable for storing a number value, and directly setsvalue.

This value will be immediately returned and can be accessed by the getString() function afterwards within the same expression.

Syntax
setNumber(variableName, value) #Output: Number
Examples
Expression parserDescription
setNumber("myNumber", 100)
This example creates a value "myNumber", sets the value 100 and returns it accordingly. 
Additional information

Parameters used in this function

ParameterInput (data type)Description
variableName

TEXT

A text for the variable name.
value

NUMBER

The number value to be stored.
Output

This function returns a NUMBER

To retrieve the value stored in the variable, use the function getNumber() within the same expression.


Use cases and examples