round

数値を最も近い整数に四捨五入するか、数値が引数として渡される場合はその小数点以下の桁数に四捨五入します。

入力

{{ 1.2 | round }}
{{ 2.7 | round }}
{{ 183.357 | round: 2 }}

出力

1
3
183.36