Rounds a number to a specified precision (number of digits after the decimal point). Defaults to 0
, or whole numbers.
pi: 3.14159265359
{{ pi | round }}{{ pi | round(2) }}
33.14
round
ModifierRounds a number to a specified precision (number of digits after the decimal point). Defaults to 0
, or whole numbers.
pi: 3.14159265359
{{ pi | round }}{{ pi | round(2) }}
33.14
Submit improvements, related content, or suggestions through Github.
Betterify this page →