Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Pow(x, y)

postgres=# postgres=# -- pow(x, y): Returns value of x to the exponential power of y postgres=# select pow(2.0, 3) AS "two cubed";      two cubed --------------------  8.0000000000000000 (1 row) postgres=#