SqlFunctions.Cos Method

Definition

Overloads

Cos(Nullable<Decimal>)

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

Cos(Nullable<Double>)

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

Cos(Nullable<Decimal>)

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

[System.Data.Entity.DbFunction("SqlServer", "COS")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
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.

Attributes

Applies to

Cos(Nullable<Double>)

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

[System.Data.Entity.DbFunction("SqlServer", "COS")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
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.

Attributes

Applies to