SqlFunctions.Cos Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
The trigonometric cosine of the specified angle.
- Attributes
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for