FLOOR

Rounds a number down to the nearest whole number.

Syntax 

FLOOR(number)

Examples 

Example 1

Input

{
  "my_action": {
    "message": 1.2
  }
}

Formula

FLOOR(my_action.message)

Output

1
Example 2

Input

{
  "my_action": {
    "message": 2
  }
}

Formula

FLOOR(my_action.message)

Output

2
Example 3

Input

{
  "my_action": {
    "message": 67.28
  }
}

Formula

FLOOR(my_action.message)

Output

67
Example 4

FLOOR will also work on text that only contains a number:

Input

{
  "my_action": {
    "message": "3.5"
  }
}

Formula

FLOOR(my_action.message)

Output

3