Exponentiation (^) - operator of language VBScript
Description:
Used to raise a number to the power of an exponent.
In the PROMOTIC system it is better to use the Pm.Pow method.
Syntax:
result = number ^ exponent
Note:
Number can be negative only if exponent is an integer value. If more than one exponentiation is performed in a single expression, then the ^ operator is evaluated as it is encountered from the left to right.
Example:
Select and copy to clipboard
Dim a, b
a = 3
b = a ^ 2
' the value 9 will be in b