Edit

Share via


WorksheetFunction.Ln(Double) Method

Definition

Returns the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).

public:
 double Ln(double Arg1);
public double Ln (double Arg1);
Public Function Ln (Arg1 As Double) As Double

Parameters

Arg1
Double

Number - the positive real number for which you want the natural logarithm.

Returns

Remarks

Ln is the inverse of the EXP function.

Applies to