Pow
Pow is a built-in scripting function that gets the result of raising a numeric value to a specified exponent.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
Pow | Arithmetic | Synchronous | Supported | Supported | Supported | Supported |
Syntax
Pow( numBase, numExponent )
- numBase
- Integer or Real tag containing the Base of the function.
- numExponent
- Integer or real tag containing the Exponent of the function.
Returned value
Returns the result of raising the base to the exponent.
Examples
Tag Name | Expression |
---|---|
Tag | Pow( 2, 3 ) // Returned value = 8 |
Tag | Pow( 10, 4 ) // Returned value = 10000 |