Log function
Summary
Natural logarithm.
Syntax
Returns a Double specifying the natural logarithm of a number.
Example
Example
This example uses the Log function to return the natural logarithm of a number.
Dim MyAngle, MyLog
' Define angle in radians.
MyAngle = 1.3
' Calculate inverse hyperbolic sine.
MyLog = Log(MyAngle + Sqr(MyAngle * MyAngle + 1))
This example uses the Log function to return the natural logarithm of a number.
Dim MyAngle, MyLog
' Define angle in radians.
MyAngle = 1.3
' Calculate inverse hyperbolic sine.
MyLog = Log(MyAngle + Sqr(MyAngle * MyAngle + 1))