DEGREES Function
Converts an angle in radians to its equivalent in degrees.
Syntax
DEGREES(number)
Argument
- number
-
The input parameter is a double precision number.
Return Type
The DEGREES function returns a double precision number.
Examples
The following example returns the degree equivalent of .5 radians:
select degrees(.5); degrees ------------------ 28.6478897565412 (1 row)
The following example converts PI radians to degrees:
select degrees(pi()); degrees --------- 180 (1 row)