Scalar. Returns the value of a given base raised to a specified exponent.
power ( base, exponent )
base | Any numeric type. |
exponent | Float that specifies the number that the base will be raised to. |
Returns the value of a given base raised to a specified exponent. The function takes a numeric type for the base argument, but the exponent must be a float. The function returns the same datatype as the base argument.
power (2.0, 3.0) returns 8.0.