Skip to content

Commit

Permalink
Merge pull request #1665 from Shopify/update-description-divided_by-f…
Browse files Browse the repository at this point in the history
…ilter

[Liquid reference docs] Adding more content to divided_by filter
  • Loading branch information
liamgriffin committed Jan 9, 2023
2 parents c2c6cb2 + 936f803 commit 0b82612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/liquid/standardfilters.rb
Expand Up @@ -757,7 +757,7 @@ def times(input, operand)
# @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)
Expand Down

0 comments on commit 0b82612

Please sign in to comment.