round

The round filter accepts two arguments. The first argument is a numeric value to be rounded. The rounding precision is the second optional argument. Returns a numeric value rounded to the specified precision.

{{ 10.345678|round(3) }}