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 

Event Transform
My Action
Event 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?