ID EN
Mathematical Functions

SIN(X)

MySQL 8.4

Returns the sine of X, where X is given in radians. Returns NULL if X is NULL.

Syntax

MYSQL
SELECT SIN(PI());
1.2246063538224e-16
SELECT ROUND(SIN(PI()));
0

Examples

Example
MYSQL
SELECT SIN(PI());
1.2246063538224e-16
SELECT ROUND(SIN(PI()));
0