PostgreSQL RADIANS Function

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

PostgreSQL RADIANS() function

RADIANS() function

The PostgreSQL radians() function is used to return the value in radian from degrees, provided in the argument.

Syntax :

radians()

PostgreSQL Version : 9.3

Pictorial presentation of PostgreSQL RADIANS() function

 

Example : PostgreSQL RADIANS() function :

SELECT RADIANS(15.0) AS "Degrees to Radians";

Output :

 Degrees to Radians
--------------------
  0.261799387799149
(1 row)