Log

From Xojo Documentation

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.

Syntax

result=Log (value)

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

Examples

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.