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])

Usage examples 

Example 1

Input

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

Formula

ROUND(my_action.message)

Output

3

Example 2

Input

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

Formula

ROUND(my_action.message)

Output

7

Example 3

Input

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

Formula

ROUND(my_action.message, 2)

Output

2435.14
Was this helpful?