ceil
Filter = ceil
Rounds the input up to the nearest whole number. Liquid tries to convert the input to a number before the filter is applied
INPUT | OUTPUT |
---|---|
| 2 |
INPUT | OUTPUT |
---|---|
| 2 |
INPUT | OUTPUT |
---|---|
| 184 |
Here the input value is a string:
INPUT | OUTPUT |
---|---|
| 4 |
Rounds the input up to the nearest whole number. Liquid tries to convert the input to a number before the filter is applied
INPUT | OUTPUT |
---|---|
| 2 |
INPUT | OUTPUT |
---|---|
| 2 |
INPUT | OUTPUT |
---|---|
| 184 |
Here the input value is a string:
INPUT | OUTPUT |
---|---|
| 4 |