Skip to product information
1 of 1
Published:2022.10.24

Shopify Liquid division results in the same result as the divisor

Shopify Liquid division results in the same result as the divisor

Applications

  • Numerical calculations

How to implement

  • LIQUID
View full details

In Liquid, the result has the same type as the divisor.
Dividing by an integer results in an integer, so if you want a decimal point you need to divide by a number that includes a decimal point.

Related Post