Log10
LOG10(number)
Description
LOG10 returns the base-10 logarithm of a number. The required parameter, number, is any numeric expression.
Example
REM LOG10 Example 'LOG10 calculates natural logarithms DIM e e = 2.718282 PRINT "LOG10(20) = " & LOG10(20) PRINT "LOG10(25) = " & LOG10(25) PRINT "LOG10(100) = " & LogN(10, 2)
Output
LOG10(20) = 1.301029996 LOG10(25) = 1.397940009 LOG10(100) = 2
Related Items