SqlFunctions.Cos SqlFunctions.Cos SqlFunctions.Cos SqlFunctions.Cos Method

Definition

Returns the trigonometric cosine of the specified angle, in radians.

Overloads

Cos(Nullable<Decimal>) Cos(Nullable<Decimal>) Cos(Nullable<Decimal>) Cos(Nullable<Decimal>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

Cos(Nullable<Double>) Cos(Nullable<Double>) Cos(Nullable<Double>) Cos(Nullable<Double>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

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 COS (Transact-SQL).

Cos(Nullable<Decimal>) Cos(Nullable<Decimal>) Cos(Nullable<Decimal>) Cos(Nullable<Decimal>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

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

Parameters

arg
Nullable<Decimal>

An angle, measured in radians.

Returns

The trigonometric cosine of the specified angle.

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 COS (Transact-SQL).

Cos(Nullable<Double>) Cos(Nullable<Double>) Cos(Nullable<Double>) Cos(Nullable<Double>)

Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.

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

Parameters

arg
Nullable<Double>

An angle, measured in radians.

Returns

The trigonometric cosine of the specified angle.

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 COS (Transact-SQL).

Applies to