System Functions

EXP( )

Raise to Base Ten

Format

EXP(num[,ERR=stmtref])

Where:

 

num

Power of 10 to be returned. Numeric expression.

stmtref

Program line number or statement label to which to transfer control.

Returns

Value of 10 raised to the power of the numeric value.

Description

The EXP( ) function returns the value of 10 raised to the power of a given numeric value (i.e. 10^num). Fractions are allowed. The numeric value returned is rounded to the current PRECISION in effect. This is the inverse of the LOG( ) function.

Example

print exp(log(90)/3), ! Print cube root of 90
print exp(3),exp(2.1)

->run
4.47 1000 125.89