Exponentiation (^) - operator of language VBScript
Used to raise a number to the power of an exponent.
For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.Pow.
result = number ^ exponent
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 left to right.
Select and copy to clipboard
Dim a, b
a = 3
b = a ^ 2 'the value 9 will be in b