AT_MOST

Limits a number to a maximum value.

Syntax 

AT_MOST(number, maximum)

Examples 

Example 1

Input

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

Formula

AT_MOST(my_action.message, 5)

Output

4
Example 2

Input

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

Formula

AT_MOST(my_action.message, 3)

Output

3
Was this helpful?