math.power ViewHelper <vhs:math.power>

Math: Power

Performs pow($a, $b) where $a is the base and $b is the exponent.

Arguments

a -

DataType
mixed
Required
false
Description
First number for calculation

b -

DataType
mixed
Required
true
Description
Second number or Iterator/Traversable/Array for calculation

fail

DataType
boolean
Required
false
Description
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).