mirror of
https://github.com/kemko/liquid.git
synced 2026-01-06 18:25:41 +03:00
461 B
461 B
title
| title |
|---|
| ceil |
ceil rounds the input up to the nearest whole number.
| Input | Output |
|---|---|
| {% raw %}`{{ 1.2 | ceil }}` {% endraw %} |
| {% raw %}`{{ 1.7 | ceil }}` {% endraw %} |
| {% raw %}`{{ 2.0 | ceil }}` {% endraw %} |
| {% raw %}`{{ "18.3" | ceil }}`{% endraw %} |
It will attempt to cast any input to a number.