POWER function

Synopsis
This function returns the result of a number raised to a specified power.
Variations
POWER(Base, Exponent)
Returns the result of a number raised to a power.
Parameters
Base

Specifies the number to evaluate.

Supported types: Numeric.
Exponent

Specifies the power to which the specified number should be raised.

Supported types: Numeric.
Returns
Returned types: Numeric.
Examples
1.

The following example returns 4.

POWER(2,2)
2.

The following example returns 8.

POWER(2,3)
3.

The following example uses the POWER function to perform gamma correction.

SELECT(RANGE(0,256), 255 * (POWER (Index/255, 1/gamma)))

Note that the gamma value is typically between 0.5 and 3.