Navigation:  ThinBASIC language > Operators > Arithmetic >

Exponentiation (^)

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

Syntax

 

result = number^exponent

 

The ^ operator syntax has these parts:

 

PartDescription
resultAny variable.
numberAny numeric expression.
exponentAny numeric expression.

 

Returns

 

N/A

 

Remarks

 

Restrictions

 

See also

 

Examples