SIN
Syntax
SIN(X)
Description
Returns the sine of X, where X is given in radians.
Examples
SELECT SIN(1.5707963267948966); +-------------------------+ | SIN(1.5707963267948966) | +-------------------------+ | 1 | +-------------------------+ SELECT SIN(PI()); +----------------------+ | SIN(PI()) | +----------------------+ | 1.22460635382238e-16 | +----------------------+ SELECT ROUND(SIN(PI())); +------------------+ | ROUND(SIN(PI())) | +------------------+ | 0 | +------------------+
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.