NUMBER

Converts the passed value to a number.

Syntax 

NUMBER(value)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "100"
4
}
5
}

Formula

NUMBER(my_action.message)

Output

100

Example 2

Also works with negative numbers and floats.

Input

1
{
2
"my_action": {
3
"message": "-10.1"
4
}
5
}

Formula

NUMBER(my_action.message)

Output

-10.1

Sample Actions 

Transform
My Action
Transform
NUMBER

Select an action to inspect.

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?