Error getting tags :
error 404Error getting tags :
error 404 ^ | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
^
Basics
Expander triangle
Type
Operator
Syntax

number^exponent

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Raises a number to a power.
Examples

7^3
myNumber^(1/2)
put 2^bitDepth into numberOfColors

Additional Comments
Expander triangle

Use the ^ operator to raise a number to a power, or to find a root of a number.

Parameters:

The number and exponent are numbers, or expressions that evaluate to numbers.

Comments:

If the exponent is a fraction, with 1 as the numerator, the ^ operator finds the specified root of the number. For example, if the exponent is 1/2, the operation yields the square root of number; if the exponent is 1/4, the operation yields the 4th root of the number, and so on.

If the exponent is zero, the result of this operator is 1, regardless of what the number is.

User Comments
Expander triangle