{"title":"round - Liquid Filter Reference","slug":"round-filter-reference","url":"https://support.storeconnect.com/articles/round-filter-reference","url_markdown":"https://support.storeconnect.com/articles/round-filter-reference.md","subtitle":null,"summary":"Rounds a number to the nearest integer, or to a specific number of decimal places when a precision argument is provided.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, round, numbers, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nRounds a number to the nearest integer or, if a number is passed as an argument, to that number of decimal places.\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | number |\n| **Category** | numbers |\n\n## Examples\n\n\n```liquid\n\n{{ 1.2 | round }}\n```\n\n\n**Output:** `1`\n\n\n```liquid\n\n{{ 2.7 | round }}\n```\n\n\n**Output:** `3`\n\n\n```liquid\n\n{{ 183.357 | round: 2 }}\n```\n\n\n**Output:** `183.36`"}