Exponentiation (^) - operator of language VBScript

Used to raise a number to the power of an exponent.
In the PROMOTIC system it is better to use the Pm.Pow method.
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 the left to right.
See also:
Select and copy to clipboard

Dim a, b
a = 3
b = a ^ 2   ' the value 9 will be in b
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.