Liquex.Filter.divided_by

You're seeing just the function divided_by, go back to Liquex.Filter module for more information.
Link to this function

divided_by(value, divisor, _)

View Source

Divides a number by another number.

Examples

The result is rounded down to the nearest integer (that is, the floor) if the divisor is an integer.

iex> Liquex.Filter.divided_by(16, 4, %{})
4

iex> Liquex.Filter.divided_by(5, 3, %{})
1

iex> Liquex.Filter.divided_by(20, 7.0, %{})
2.857142857142857