sin

Description

Returns the sine of the specified angle (in radians).

Syntax

sin(approx_numeric)

Parameters

approx_numeric

is any approximate numeric (float, real, or double precision) column name, variable, or constant expression.

Examples

Example 1

select sin(45)
-------------------- 
           0.850904

Usage

sin, a mathematical function, returns the sine of the specified angle (measured in radians).

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute sin.

See also

For general information about mathematical functions, see “Mathematical functions”.

Functions cos, degrees, radians