--- title: "Liquid filters: ceil" description: Rounds a number up to the nearest integer. api_name: liquid source_url: html: https://shopify.dev/docs/api/liquid/filters/ceil md: https://shopify.dev/docs/api/liquid/filters/ceil.md --- # ceil ```oobleck number | ceil ``` returns [number](https://shopify.dev/docs/api/liquid/basics#number) Rounds a number up to the nearest integer. ```liquid {{ 1.2 | ceil }} ``` ## Output ```html 2 ```