Function: dividedBy()
dividedBy(
this
,left
,divisor
):NumberT
Divide the input value by the argument value, rounded down to the nearest whole number if the divisor is an integer.
Parameters
• this: FilterContext
An object containing a reference to the active render context and any keyword/named arguments.
• left: unknown
Any value. If it can't be converted to a number, zero will be used instead.
• divisor: unknown
Any value. If it can't be converted to a number an exception will be raised.
Returns
The input value divided by the argument value.
Throws
FilterArgumentError Thrown if the divisor is zero or can't be converted to a number.