SQL Server/T-SQL Tutorial/Math Functions/DEGREES
Версия от 13:46, 26 мая 2010; (обсуждение)
DEGREES converts a float value, which represents an angle in radians, into the value of this angle in degrees.
4>
5> SELECT DEGREES(PI()/4)
6> GO
------------------------
45
(1 rows affected)
1> SELECT DEGREES(ACOS(0.5))
2> GO
------------------------
60.000000000000007
(1 rows affected)