w3resource

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

pictorial presentation of PostgreSQL RADIANS() function

Example: PostgreSQL RADIANS() function:

Code:

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

Sample Output:

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

Previous: POWER function
Next: RANDOM function



Follow us on Facebook and Twitter for latest update.