1. Docs
  2. Formulas
  3. Functions

AT_MOST

Limits a number to a maximum value.

Categories: Numbers

Syntax

AT_MOST(number, maximum)

Examples

Example 1

Input

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

Formula

AT_MOST(my_action.message, 5)

Output

4

Example 2

Input

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

Formula

AT_MOST(my_action.message, 3)

Output

3

Sample actions

Event Transform
My Action
Event Transform
AT_MOST
Event Transform
AT_MOST

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?