From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Global Method

Log(value as Double) As Double

Supported for all project types and targets.

Returns the natural logarithm of the value specified. Use System.Log to use the system message logging.


result=Log (value)

Part Type Description
result Double The natural logarithm of value.
value Double The value you want the natural logarithm of.


This example uses the Log function to return the natural logarithm of a number.

Var d As Double
d = Log(10) // returns 2.3025851

See Also

Exp function.