SIN

Trigonometric function that calculates the sine of a provided value.

Syntax

SIN(<value>)

Parameters

Parameter Description Supported input types
<value> The value that determines the returned sine in radians. DOUBLE PRECISION

Return Type

DOUBLE PRECISION

Example

The following query calculates the sine of 1.57 radians, which is approximately pi/2:

SELECT SIN(1.57) as result;
result (DOUBLE PRECISION)
0.9999996829318346