Skip to main content

SIN

Returns the trigonometric sine of the specified angle, in radians, and in an approximate numeric, float, expression.

Syntax​

SIN ( float_expression  )

Arguments​

float_expression
Is an expression of type float or of a type that can be implicitly converted to float, in radians.

Return Type​

Returns values of type FLOAT64.

Examples​

Examples in this section use the example blockchain.

This example shows the results of using the SIN function.

SELECT SIN(real) FROM example;

Response:

SIN(real) [FLOAT64]
NULL
0
0.8414709848078965
0.9092974268256816