EPT() Function - Get Exponent Part of Decimal

Syntax

EPT(num{,ERR=lineref})

Description

The EPT() function returns the order of magnitude of num (the exponent of 10).

Examples

>PRINT EPT(35.14)
2
>PRINT EPT(-100)
3
>PRINT EPT(.000001)
-5
>PRINT EPT(0)
0

See Also

Functions - Alphabetical Listing