round

Filter = round

Rounds a number to the nearest integer or, if a number is passed as an argument, to that number of decimal places.

INPUT

OUTPUT

{{ 1.2 | round }}

1

INPUT

OUTPUT

{{ 2.7 | round }}

3

INPUT

OUTPUT

{{ 183.357 | round: 2 }}

183.36