PostgreSQL/Math Functions/radians
Версия от 13:45, 26 мая 2010; (обсуждение)
radians(d): Returns radian equivalent to d degrees
postgres=# -- radians(d): Returns radian equivalent to d degrees
postgres=# SELECT radians(180) AS half_circle,
postgres-# radians(360) AS full_circle;
half_circle | full_circle
------------------+------------------
3.14159265358979 | 6.28318530717959
(1 row)
postgres=#