See also
min, minmax
Take the maximum of the filter value and its first argument.
The following:
{% print 102|to_integer|max:103 %}
Prints 103.
103