ABS

Returns the absolute value of a number.

Syntax 

ABS(number)

Examples 

Example 1

Input

{
  "my_action": {
    "message": -17
  }
}

Formula

ABS(my_action.message)

Output

17
Example 2

Input

{
  "my_action": {
    "message": 4
  }
}

Formula

ABS(my_action.message)

Output

4
Example 3

ABS will also work on text that only contains a number.

Input

{
  "my_action": {
    "message": "-19.86"
  }
}

Formula

ABS(my_action.message)

Output

19.86