以近似数字 (float) 表达式返回给定角度(以弧度为单位)的三角正弦值。
SIN ( float_expression )
float_expression
是 float 类型的表达式。
float
下例计算给定角度的 SIN 值。
DECLARE @angle float
SET @angle = 45.175643
SELECT 'The SIN of the angle is: ' + CONVERT(varchar,SIN(@angle))
GO
下面是结果集:
The SIN of the angle is: 0.929607
(1 row(s) affected)