ROUND

Rounds an input number to the nearest whole number or, if precision is specified, to that number of decimal places.

Syntax 

ROUND(number, [precision])

Examples 

Example 1

Input

{
  "my_action": {
    "message": 3.3
  }
}

Formula

ROUND(my_action.message)

Output

3
Example 2

Input

{
  "my_action": {
    "message": 6.6
  }
}

Formula

ROUND(my_action.message)

Output

7
Example 3

Input

{
  "my_action": {
    "message": 2435.135433
  }
}

Formula

ROUND(my_action.message, 2)

Output

2435.14