Exp10


Function Exp10( numeric expression )


Returns 10^numeric expressionth power


Syntax a = Exp10( b )


Remarks

Exp10 returns 10 to the xth power.


See Also:

Exp Exp2 Log10 Math Functions


Example Script


' Let's check the first 5 powers of 10

NUMBER i

FOR i = 0 TO 5

PRINT "10^"; i; " is "; EXP10(i)

PRINT "or it could be "; 10 ^ i

NEXT i


Script Output


10^0 is 1

or it could be 1

10^1 is 10

or it could be 10

10^2 is 100

or it could be 100

10^3 is 1000

or it could be 1000

10^4 is 10000

or it could be 10000

10^5 is 100000

or it could be 100000