以近似數(shù)字 (float) 表達(dá)式返回給定角度(以弧度為單位)的三角正弦值。
SIN ( float_expression )
float_expression
是 float 類型的表達(dá)式。
float
下例計(jì)算給定角度的 SIN 值。
DECLARE @angle float
SET @angle = 45.175643
SELECT 'The SIN of the angle is: ' + CONVERT(varchar,SIN(@angle))
GO
下面是結(jié)果集:
The SIN of the angle is: 0.929607
(1 row(s) affected)
相關(guān)文章