at_most - Liquid Filter Reference
On this page
Description
Limits a number to a maximum value.
| Property | Value |
|---|---|
| Return Type | number |
| Category | numbers |
Examples
```liquid
{{ 4 | at_most: 5 }} ```
Output: 4
```liquid
{{ 4 | at_most: 3 }} ```
Output: 3
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.