Description:
Perform exponentiation or find the nth root of a number.
Syntax:
power(x, n)
Note:
Parameter:
x |
Base |
n |
Power; default is 2 |
Return value:
Numeric type
Example:
power(2,4) power(16,1/4) |
16.0 2.0 |
power(5) |
25 |
Related functions: