From Xojo Documentation

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

Xojo.Math.Log(value As Double) As Double

Supported for all project types and targets.

Returns the natural logarithm of the specified value.

Sample Code

Log 10:

Using Xojo.Math

Dim d As Double
d = Log(10) // d = 2.3025851