Link Search Menu Expand Document

ASIN

Calculates the arcsine. ASIN returns NULL if <value> is higher than 1.

Syntax

ASIN(<value>)

Parameters

Parameter Description Supported input type
<value> The value which the ASIN function is applied to DOUBLE_PRECISION

Return Type

DOUBLE_PRECISION

Example

The following example calculates the arc sine of 1.0:

SELECT
    ASIN(1.0);

Returns: 1.5707963267948966