This function creates a variable for storing a number value, and directly sets a value.
This value will be immediately returned and can be accessed by the getString() function afterwards within the same expression.
Bash
setNumber(variableName, value) #Output: Number
Examples
|
Expression parser |
Description |
|---|---|
|
Bash
|
This example creates a value "myNumber", sets the value 100 and returns it accordingly. |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
A text for the variable name. |
|
|
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
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|