Transact-SQL Reference

SIN

Returns the trigonometric sine of the given angle (in radians) in an approximate numeric (float) expression.

Syntax

SIN ( float_expression )

Arguments

float_expression

Is an expression of type float.

Return Types

float

Examples

This example calculates the SIN for a given angle.

DECLARE @angle float
SET @angle = 45.175643
SELECT 'The SIN of the angle is: ' + CONVERT(varchar,SIN(@angle))
GO

Here is the result set:

The SIN of the angle is: 0.929607                       

(1 row(s) affected)

See Also

Mathematical Functions

'

Comments ( )
Link to this page: //www.vb-net.com/Sql/Sql/Ts_setu-sus_40j2.htm
< THANKS ME>