round
Round a value to the nearest whole or decimal number.
Sample Usage
{{ exact_temperature|round }}
{{ exact_temperature|round:1 }}
These will output the value of exact_temperature
rounded to the nearest whole number, and will output the value of exact_temperature
rounded to the nearest tenth, respectively.
Decimal values .5
and higher will round up, lower will round down.
Parameters
This modifier has one optional parameter, the precision of the remaining value after being rounded. This modifier will round to the nearest whole number if this parameter is not included.