नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Is a mathematical function that returns the trigonometric cosine of the specified angle, in radians, in the specified expression.
Transact-SQL Syntax Conventions
Syntax
COS ( float_expression )
Arguments
- float_expression
Is an expression of type float.
Return Types
float
Examples
The following example returns the COS of the specific angle.
DECLARE @angle float
SET @angle = 14.78
SELECT 'The COS of the angle is: ' + CONVERT(varchar,COS(@angle))
GO
Here is the result set.
The COS of the angle is: -0.599465
(1 row(s) affected)
See Also
Reference
Mathematical Functions (Transact-SQL)