Raises a number to the specified power.
Category: | Mathematical |
Returned data type: | Real |
POW(x, y)
x
specifies a value that has a data type of real and indicates the base number to raise; this can be specified as a numeric constant, field name, or expression
y
specifies a value that has data type of real and indicates the power to raise to; this can be specified as a numeric constant, field name, or expression
The POW function raises x to the power y (xy).
Statements | Results |
---|---|
x = pow(5,2) | // outputs 25 |
x = pow(5,-2) | // outputs 0.04 |
x = pow(16,0.5) | // outputs 4 |