- 카테고리:
숫자 함수 (삼각)
DEGREES¶
라디안을 도로 변환합니다.
구문¶
DEGREES( <input_expr> )
인자¶
input_exprThe value or expression to operate on. The data type must be FLOAT or DECFLOAT.
반환¶
If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.
예¶
1/3 라디안, 1라디안, 3라디안의 도 수를 표시합니다.
SELECT DEGREES(PI()/3), DEGREES(PI()), DEGREES(3 * PI()), DEGREES(1); +-----------------+---------------+-------------------+--------------+ | DEGREES(PI()/3) | DEGREES(PI()) | DEGREES(3 * PI()) | DEGREES(1) | |-----------------+---------------+-------------------+--------------| | 60 | 180 | 540 | 57.295779513 | +-----------------+---------------+-------------------+--------------+