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