SIN(X)
Returns the sine of X, where X is given in radians.
SELECT SIN(1.5707963267948966); +-------------------------+ | SIN(1.5707963267948966) | +-------------------------+ | 1 | +-------------------------+ SELECT SIN(PI()); +----------------------+ | SIN(PI()) | +----------------------+ | 1.22460635382238e-16 | +----------------------+ SELECT ROUND(SIN(PI())); +------------------+ | ROUND(SIN(PI())) | +------------------+ | 0 | +------------------+
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/sin/