首页 > 代码库 > POWER(x,y)

POWER(x,y)

POWER(x,y) 用于返回 x 的 y 次方的结果

mysql> SELECT POWER(2,4), POWER(2,-4);+------------+-------------+| POWER(2,4) | POWER(2,-4) |+------------+-------------+|         16 |      0.0625 |+------------+-------------+

 

 

 

 

    

POWER(x,y)