一个数学函数,返回给定表达式中给定角度(以弧度为单位)的三角余弦值。
COS ( float_expression )
float_expression
是 float 类型的 expression。
float
下面的示例返回给定角度的 COS 值。
DECLARE @angle float
SET @angle = 14.78
SELECT 'The COS of the angle is: ' + CONVERT(varchar,COS(@angle))
GO
下面是结果集:
The COS of the angle is: -0.599465
(1 row(s) affected)
相关文章