POW(X,Y), POWER(X,Y) returns the value of X raised to the power of Y. : POW : Math Numeric Functions MySQL TUTORIALS


MySQL TUTORIALS » Math Numeric Functions » POW »

 

POW(X,Y), POWER(X,Y) returns the value of X raised to the power of Y.


mysql>
mysql> SELECT POW(2,2);
+----------+
| POW(2,2|
+----------+
|        |
+----------+
row in set (0.02 sec)

mysql>
mysql> SELECT POW(2,-2);
+-----------+
| POW(2,-2|
+-----------+
|      0.25 |
+-----------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Math Numeric Functions
» POW