{"title":"ceil - Liquid Filter Reference","slug":"ceil-filter-reference","url":"https://support.storeconnect.com/articles/ceil-filter-reference","url_markdown":"https://support.storeconnect.com/articles/ceil-filter-reference.md","subtitle":null,"summary":"Rounds a number up to the nearest whole number. Liquid attempts to convert string inputs to numbers before rounding.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, ceil, numbers, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nRounds an input up to the nearest whole number. Liquid tries to convert the input to a number before the filter is applied.\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | number |\n| **Category** | numbers |\n\n## Examples\n\n\n```liquid\n\n{{ 1.2 | ceil }}\n```\n\n\n**Output:** `2`\n\n\n```liquid\n\n{{ 2.0 | ceil }}\n```\n\n\n**Output:** `2`\n\n\n```liquid\n\n{{ 183.357 | ceil }}\n```\n\n\n**Output:** `184`\n\nHere the input value is a string\n\n\n```liquid\n\n{{ \"3.2\" | ceil }}\n```\n\n\n**Output:** `4`"}