Rounds a number to the nearest integer or, if a number is passed as an argument, to that number of decimal places.
Input
{{ 1.2 | round }} {{ 2.7 | round }} {{ 183.357 | round: 2 }}
Output
1 3 183.36
Last updated 2 years ago