Calculate the sine of the parameter
SIN(<a>)
| Parameter | Description |
|---|---|
<a> | floating point number, the radian value of the parameter to calculate |
The sine of the parameter <a>, expressed in radians.
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 | +------------------------------------+