Skip to main content

Categories: Math

RADIANS

Converts degrees to radians.

Syntax​

RADIANS(x numeric) → double​

  • x: The number in degrees

Examples

RADIANS example
select radians(45)
-- 0.7853981633974483
Convert 180 degrees to radians
SELECT RADIANS(180)
-- 3.141592653589793
Convert radians to degrees and back to radians
SELECT RADIANS(DEGREES(1))
-- 1.0
Return NULL for a NULL input
SELECT RADIANS(NULL)
-- null