radians¶
Description¶
Converts from degrees to radians. Returns a float64.
Arguments
angle (required) Angle in degrees, a float64
Return type¶
float64
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
radians(angles)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
angles |
float64 |
no |
no |
none |
Examples¶
make_col angle_radians:radians(angle_degrees)
Creates the column angle_radians
which contains the values of the column angle_degrees
, converted from degrees to radians.
Given the below column angle_degrees
, radians
produces the below column angle_radians
angle_degrees |
angle_radians |
---|---|
0 |
0 |
60 |
π / 3 |
180 |
π |
360 |
2π |