PostgreSQL DEGREES Function

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

PostgreSQL DEGREES() function

DEGREES() function

The PostgreSQL degrees() function is used to return the values in degrees from radian as specified in the argument.

Syntax :

degrees()

PostgreSQL Version : 9.3

Pictorial presentation of PostgreSQL DEGREES() function

 

Example : PostgreSQL DEGREES() function

SELECT DEGREES(.45) AS "Degrees";

Output :

     Degrees
-----------------
 25.783100780887
(1 row)