at_least

Enforce a minimum numerical threshold by returning the specified minimum value if the input is smaller.

Syntax

{{ number | at_least: min_value }}

Example

{% assign count = 2 %}{{ count | at_least: 5 }} minimum items

Output

5 minimum items

The at_least filter checks whether a numerical input is smaller than a specified minimum threshold. If the input is below the threshold, the minimum value is returned instead, effectively establishing a hard numerical floor.

In programmatic SEO campaigns, at_least prevents misleading or zero-quantity claims in hero banners when sparse keyword rows have low counts. For example: {{ row.technicians_count | at_least: 3 }} verified contractors ready to serve you. This guarantees that marketing badges always present a credible baseline across local branch pages.

Try this syntax in the editor.