degrees()

A function for converting radians to degrees

degrees() is a system function for converting radians to degrees.

degrees() was added in PostgreSQL 7.0.

Usage

degrees ( double precision ) → double precision

Use radians() to perform the opposite conversion, i.e. from degrees to radians.

Change history

Examples

Basic usage example for degrees():

postgres=# SELECT degrees(1.75);
      degrees       
--------------------
 100.26761414789407
(1 row)

Categories

System function

See also

radians()