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.


setNumber(variableName, value) #Output: Number



Expression parserDescription


setNumber("myNumber", 100)


This example creates a value "myNumber", sets the value 100 and returns it accordingly. 



Parameters used in this function

ParameterInput (data type)Description
variableName

A text for the variable name.
value

The number value to be stored.



This function returns a 


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



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

It would be the same as setBoolean(), but in the variable we would get a number.






Status
Tech review

Style guide




Short description

Creates a variable to temporarily store a number

Output

Available since

Label