This documentation is related to an older version of Firebolt. For the most current documentation, see Firebolt documentation.
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 | DOUBLE PRECISION |
Return Type
DOUBLE PRECISION
Example
The following example calculates the sine of 90
:
SELECT
SIN(90);
Returns: 0.8939966636005579