Exponentiation (^)

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Operators > Arithmetic >

Exponentiation (^)

 

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