Log10: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 30: | Line 30: | ||
[[Category:Language Reference]] | [[Category:Language Reference]] | ||
[[Category:Math]] |
Revision as of 19:55, 14 September 2012
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