Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Exponentiation Operator (^)

Raises a number to the power of an exponent.

result = number^exponent

result

Any numeric variable.

number

Any numeric expression.

exponent

Any numeric expression.

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.

If either number or exponent is a Null expression, result is also Null.

Community Additions

Show:
© 2015 Microsoft