w3resource

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

pictorial presentation of PostgreSQL DEGREES() function

Example: PostgreSQL DEGREES() function

Code:

SELECT DEGREES(.45) AS "Degrees";+

Sample Output:

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

Previous: COT function
Next: DIV function



Follow us on Facebook and Twitter for latest update.