ProvideX V8.20 > Language Reference > 3. System Functions
429
EXP( ) Function
        Raise to Base Ten
Format
EXP(num[,ERR=stmtref])
Where:
num
Power of 10 (ten) to be returned. Numeric expression.
stmtref
Program line number or label to transfer control to.
Returns
Value of ten 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.
Examples
0010 PRINT EXP(LOG(90)/3), ! Print cube root of 90
0020 PRINT EXP(3),EXP(2.1)
-> RUN
4.47 1000 125.89