POWER

Returns a DOUBLE PRECISION value representing one number raised to the power of another number.

Returns a DOUBLE PRECISION value representing one number raised to the power of another number.

Behavior type

Immutable

Syntax

POW[ER] ( expression1, expression2 )

Arguments

expression1
Resolves to a DOUBLE PRECISION value that represents the base.
expression2
Resolves to a DOUBLE PRECISION value that represents the exponent.

Examples

SELECT POWER(9.0, 3.0);
 power
-------
   729
(1 row)