- カテゴリ:
数値関数 (三角関数)
RADIANS¶
度をラジアンに変換します。
構文¶
RADIANS( <input_expr> )
引数¶
input_exprThe value or expression to operate on. The data type must be FLOAT.
戻り値¶
This function returns a value of type FLOAT.
例¶
Show the results of calling the RADIANS function:
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 |
+------------+-------------+--------------+--------------+--------------+