The Log function returns the natural logarithm to the specified value.
Syntax | ||||
Log(Value) | ||||
Return value | ||||
Type |
Description | |||
Double |
Value to get the natural logarithm from. | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Value |
Double |
ByVal |
Wert zur Bestimmung des natürlichen Logarithmus (Wert > 0) |
Example
Dim X As Double, Log10 As Double
Log10 := Log(X) / Log(10)
In this example, the logarithm of the number X is calculated to base 10. See also LogN