Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Exponentiation (^) - operator of language VBScript

Description:
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.

Syntax:
result = number ^ exponent
Note:
Number can be negative only if exponent is an integer value. When more than one exponentiation is performed in a single expression, the ^ operator is evaluated as it is encountered from left to right.
Example:
Dim a, b
a = 3
b = a ^ 2 'the value 9 will be in b
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice