round
Rounds to a number of decimals (default 0).
Syntax
Section titled “Syntax”number | round: decimalsReturns
Section titled “Returns”number
Example
Section titled “Example”{{ 4.56 | round }} · {{ 4.56 | round: 1 }}5 · 4.6Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

