SQL Server/T-SQL Tutorial/Math Functions/DEGREES

Материал из SQL эксперт
Перейти к: навигация, поиск

DEGREES converts a float value, which represents an angle in radians, into the value of this angle in degrees.

   <source lang="sql">

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)</source>