ID : 234
Log10
Function
To return a common logarithm.
Syntax
Log10(number)
Guaranteed entry
- number
- Designate Double Precision Real Number Type data higher than 0.
Return value
Return Double Precision Real Number Type data.
Description
A common logarithm is returned.
Attention
A runtime error occurs when a numeric value below 0 is specified in number.
Example
'!TITLE "Acquiring Common Logarithm"
' Acquire a common logarithm of 1000
Sub Sample_Log10
Dim aaa As Integer
' Assign the common logarithm of 1000 to aaa
aaa = Log10( 1000 )
' Display "3" on the message output window
PrintDbg aaa
End Sub
ID : 234