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') }}
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv