round
The round filter rounds a number to a given precision using a specific rounding method.
{{ 42.55|round }}
{{ 42.55|round(1) }}
{{ 42.55|round(1, 'ceil') }}
The round filter rounds a number to a given precision using a specific rounding method.
{{ 42.55|round }}
{{ 42.55|round(1) }}
{{ 42.55|round(1, 'ceil') }}