Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Power(a numeric, b numeric) numeric a raised to the power of b

postgres=# -- power(a numeric, b numeric) numeric a raised to the power of b postgres=# postgres=# select power(9.0, 3.0);         power ----------------------  729.0000000000000000 (1 row) postgres=#