System Functions
EPT( ) Return Exponent Value
 
Format EPT(num[,ERR=stmtref])
 
Where:
 
num Numeric expression whose exponent is to be returned.
 
stmtref Program line number or statement label to which to transfer control.
 
Returns Numeric exponent (power of ten).
 
Description The EPT( ) function returns the power of 10 for the numeric expression provided.
 
Examples ->EPT(10) ! Same as EPT(0.1*10^2) - yields 2
->EPT(5) ! Same as EPT(0.5*10^1) - yields 1
->EPT(.02) ! Same as EPT(0.2*10^-1) - yields -1
 
0610 LET B=27*9
0620 PRINT EPT(B), EPT(9*2)
-:run
3 2