In filters.js, divided_by is defined as 'divided_by': (v, arg) => Math.floor(v / arg).
However in the Liquid documentation it says that if given a float it will return a float (under the section "Controlling rounding"). Math.floor prevents that.
https://shopify.github.io/liquid/filters/divided_by/
In
filters.js,divided_byis defined as'divided_by': (v, arg) => Math.floor(v / arg).However in the Liquid documentation it says that if given a float it will return a float (under the section "Controlling rounding").
Math.floorprevents that.https://shopify.github.io/liquid/filters/divided_by/