ceil
Filter
Rounds a number up to the nearest integer.
Parameters
None.
Category
Description
Rounds a number up to the nearest integer. If the number’s value is equal to an integer, the integer representation of it is returned.
{{ 4.7 | ceil }}
Output
5
{{ 4.0 | ceil }}
Output
4