SIN
Descriptionβ
Calculate the sine of the parameter
Syntaxβ
SIN(<a>)
Parametersβ
Parameter | Description |
---|---|
<a> | floating point number, the radian value of the parameter to calculate |
Return Valueβ
The sine of the parameter <a>
, expressed in radians.
Examplesβ
select sin(1);
+------------------------+
| sin(cast(1 as DOUBLE)) |
+------------------------+
| 0.8414709848078965 |
+------------------------+
select sin(0);
+------------------------+
| sin(cast(0 as DOUBLE)) |
+------------------------+
| 0.0 |
+------------------------+
select sin(Pi());
+------------------------------------+
| sin(pi()) |
+------------------------------------+
| 0.00000000000000012246467991473532 |
+------------------------------------+