PHP Class FluidTYPO3\Vhs\ViewHelpers\Math\DivisionViewHelper

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.
Inheritance: extends AbstractMultipleMathViewHelper
Datei anzeigen Open project: fluidtypo3/vhs

Protected Methods

Method Description
calculateAction ( mixed $a, mixed $b ) : mixed

Method Details

calculateAction() protected method

protected calculateAction ( mixed $a, mixed $b ) : mixed
$a mixed
$b mixed
return mixed