POW - Mathematical
Calculates x to the power of y
Input parameters
| Name | Type | Optional | Description |
|---|---|---|---|
x |
Number | False | |
y |
Number | False |
Output
Number: x ^ y
Usage
POW(<x>, <y>)
Examples
Example 1
Query
LOAD tmp
AS ('': POW(2, 4))
Result
16.0
Example 2
Query
LOAD tmp
AS ('': POW(3, -1))
Result
0.3333333333333333