Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (7 sloc) 214 Bytes
.. highlight:: django

Take the minimum of the filter value and its first argument.

The following:

{% print 102|to_integer|min:103 %}

Prints 102.

.. seealso:: :ref:`filter-max`