Catégories :

Fonctions numériques (trigonométrique)

RADIANS

Convertit les degrés en radians.

Syntaxe

RADIANS( <input_expr> )
Copy

Arguments

input_expr

The value or expression to operate on. The data type must be FLOAT.

Renvoie

This function returns a value of type FLOAT.

Exemples

Show the results of calling the RADIANS function:

SELECT RADIANS(0), RADIANS(60), RADIANS(180), RADIANS(360), RADIANS(720);
Copy
+------------+-------------+--------------+--------------+--------------+
| RADIANS(0) | RADIANS(60) | RADIANS(180) | RADIANS(360) | RADIANS(720) |
|------------+-------------+--------------+--------------+--------------|
|          0 | 1.047197551 |  3.141592654 |  6.283185307 | 12.566370614 |
+------------+-------------+--------------+--------------+--------------+