- Catégories :
Fonctions numériques (trigonométrique)
RADIANS¶
Convertit les degrés en radians.
Syntaxe¶
RADIANS( <input_expr> )
Arguments¶
input_exprThe value or expression to operate on. The data type must be FLOAT or DECFLOAT.
Returns¶
If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.
Exemples¶
Afficher les résultats de l’appel de la fonction RADIANS :
SELECT RADIANS(0), RADIANS(60), RADIANS(180), RADIANS(360), RADIANS(720); +------------+-------------+--------------+--------------+--------------+ | RADIANS(0) | RADIANS(60) | RADIANS(180) | RADIANS(360) | RADIANS(720) | |------------+-------------+--------------+--------------+--------------| | 0 | 1.047197551 | 3.141592654 | 6.283185307 | 12.566370614 | +------------+-------------+--------------+--------------+--------------+