WorksheetFunction.Log(Double, Object) Method

Definition

Returns the logarithm of a number to the base you specify.

public double Log (double Arg1, object Arg2);
Public Function Log (Arg1 As Double, Optional Arg2 As Object) As Double

Parameters

Arg1
Double

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

Arg2
Object

Base - the base of the logarithm. If base is omitted, it is assumed to be 10.

Returns

Applies to