Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Nov 01, 2024
Send us feedback
radians
Applies to: Databricks SQL Databricks Runtime
Converts expr in degrees to radians.
expr
radians(expr)
expr: An expression that evaluates to a numeric.
A DOUBLE.
DOUBLE
Given an angle in degrees, returns the associated radians.
> SELECT radians(180); 3.141592653589793
degrees function
pi function