Transform a value from radians into degrees.
SELECT DEGREES(1.5); |
The DEGREES() function converts a value from radians to degrees.
Note: Also consider using the RADIANS() and PI() functions.
DEGREES(number) |
Parameter |
Description |
number |
Required: A numerical value. |
Works in: |
Available in SQL Server from 2008 onward, as well as in Azure SQL Database, Azure SQL Data Warehouse, and Parallel Data Warehouse. |
Convert a value given in radians into degrees.
SELECT DEGREES(PI()*2); |