Edit

Share via


SqlFunctions.Log Method

Definition

Returns the natural logarithm of the specified input value.

Overloads

Log(Nullable<Decimal>)

Returns the natural logarithm of the specified input value.

Log(Nullable<Double>)

Returns the natural logarithm of the specified input value.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see LOG (Transact-SQL).

Log(Nullable<Decimal>)

Returns the natural logarithm of the specified input value.

public:
 static Nullable<double> Log(Nullable<System::Decimal> arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "LOG")]
public static double? Log (decimal? arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "LOG")>]
static member Log : Nullable<decimal> -> Nullable<double>
Public Shared Function Log (arg As Nullable(Of Decimal)) As Nullable(Of Double)

Parameters

arg
Nullable<Decimal>

A numeric expression.

Returns

The natural logarithm of the input value.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see LOG (Transact-SQL).

Applies to

Log(Nullable<Double>)

Returns the natural logarithm of the specified input value.

public:
 static Nullable<double> Log(Nullable<double> arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "LOG")]
public static double? Log (double? arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "LOG")>]
static member Log : Nullable<double> -> Nullable<double>
Public Shared Function Log (arg As Nullable(Of Double)) As Nullable(Of Double)

Parameters

arg
Nullable<Double>

A numeric expression.

Returns

The natural logarithm of the input value.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see LOG (Transact-SQL).

Applies to