ceil
Rounds an input up to the nearest whole number. ceil
will also work on a string that only contains a number.
Input
{{ 1.2 | ceil }}
{{ 2.0 | ceil }}
{{ 183.357 | ceil }}
{{ "3.5" | ceil }}
Output
2
2
184
4
Rounds an input up to the nearest whole number. ceil
will also work on a string that only contains a number.
Input
{{ 1.2 | ceil }}
{{ 2.0 | ceil }}
{{ 183.357 | ceil }}
{{ "3.5" | ceil }}
Output
2
2
184
4