Parameters, Value
Power function performs power operation on numeric values.
Syntax:
- Format: pow(
<base>
,<exponent>
) - Parameters: see table below
- Value: ATTR (number)
Name | Type | Specification | Description |
---|---|---|---|
base | Number | / | Base |
exponent | Number | / | Exponent |
Common Usage
Example: calculate the square number of 1.5
return pow(1.5, 2)
Example: calculate a column of numbers with 1.5 as the exponent
uncollect [1, 2.5, 3] as a
return pow(a, 1.5)