--- url: https://developer.youcan.shop/themes/filters/math/round.md --- # Round Rounds a number to the nearest integer. A number argument sets the number of decimal places. ## Example ```liquid {{ 4.567 | round }} {{ 4.567 | round: 2 }} ``` ::: tip Output ```html 5 4.57 ``` :::