NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

^ Operator

Raises a number to the power of an exponent.

Arguments

Part
Description
result
Required; any numeric variable.
number
Required; any numeric expression.
exponent
Required; any numeric expression.

Remarks

A 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.

Usually, the data type of result is a Double or an Object containing a Double.

See Also

Example

^= Operator | Arithmetic Operators | Operator Precedence in Visual Basic | Operator Summary