Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript Exponentiation Operator (^)

Used to raise a number to the power of an exponent.

Syntax: VBScript Exponentiation Operator (^)

result = number^exponent

Arguments: VBScript Exponentiation Operator (^)

result

Any numeric variable.

number

Any numeric expression.

exponent

Any numeric expression.

Remarks: VBScript Exponentiation Operator (^)

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.