pow - chung-leong/qb GitHub Wiki

pow - Exponential expression

float pow( float $x, float $exp )

pow() returns x raised to the power of exp.

Parameters:

x - The base to use. It can be a scalar or an array.

exp - The exponent. It can be a scalar or an array.

Return Value:

x raised to the power of exp. If x or exp is an array, the return value will also be an array, the size of which match the larger of x and exp.

Version

1.0 and above.