ViewHelper Documentation


Math: Division

Performs division of $a using $b. A can be an array and $b a number, in which case each member of $a gets divided by $b. If both $a and $b are arrays, each member of $a is summed against the corresponding member in $b compared using index.


a anySimpleType

First number for calculation

fail boolean

If TRUE, throws an Exception if argument "a" is not specified and no child content or inline argument is found. Usually okay to use a NULL value (as integer zero).

b anySimpleType

Second number or Iterator/Traversable/Array for calculation

ViewHelper Resources

Schema Resources