Merge pull request #1665 from Shopify/update-description-divided_by-filter

[Liquid reference docs] Adding more content to divided_by filter
This commit is contained in:
liamgriffin
2023-01-09 14:12:23 +00:00
committed by GitHub
+1 -1
View File
@@ -757,7 +757,7 @@ module Liquid
# @liquid_type filter
# @liquid_category math
# @liquid_summary
# Divides a number by a given number.
# Divides a number by a given number. The `divided_by` filter produces a result of the same type as the divisor. This means if you divide by an integer, the result will be an integer, and if you divide by a float, the result will be a float.
# @liquid_syntax number | divided_by: number
# @liquid_return [number]
def divided_by(input, operand)