Skip to content

at_most

Clamps a number to a maximum. (standard Liquid filter.)

Example

{{ 8 | at_most: 5 }}

Output:

5