1. Docs
  2. Formulas
  3. Functions

NUMBER

Converts the passed value to a number.

Categories: Numbers

Syntax

NUMBER(value)

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?
NUMBER | Docs | Tines