SqlFunctions.Log10 Method

Definition

Returns the base-10 logarithm of the specified input value.

Overloads

Log10(Nullable<Decimal>)

Returns the base-10 logarithm of the specified input value.

Log10(Nullable<Double>)

Returns the base-10 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 LOG10 (Transact-SQL).

Log10(Nullable<Decimal>)

Returns the base-10 logarithm of the specified input value.

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

Parameters

arg
Nullable<Decimal>

A numeric expression.

Returns

The base-10 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 LOG10 (Transact-SQL).

Applies to

Log10(Nullable<Double>)

Returns the base-10 logarithm of the specified input value.

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

Parameters

arg
Nullable<Double>

A numeric expression.

Returns

The base-10 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 LOG10 (Transact-SQL).

Applies to