Method

Log


Description

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

Usage

result = Log(value)

Part

Type

Description

result

Double

The natural logarithm of value.

value

Double

The value you want the natural logarithm of.

Sample code

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

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

Compatibility

All project types on all supported operating systems.

See also

Exp function.