Computes the degrees of an input value measuring the radians of an angle. The value can be a Decimal or Integer literal or a reference to a column containing numeric values. |
Numeric literal example:
derive type:single value: ROUND(DEGREES(1.0000),4) |
Output: Generates a column containing the computation in degrees of 1.0000
radians, which is 57.2728
.
Column reference example:
derive type:single value: DEGREES(myRads) as: myDegrees' |
Output: Generates the new myDegrees
column containing the conversion of the values in MyRads
column to degrees.
derive type:single value: DEGREES(numeric_value) |
Argument | Required? | Data Type | Description |
---|---|---|---|
numeric_value | Y | string, decimal, or integer | Name of column, Decimal or Integer literal, or function returning those types to apply to the function |
Name of the column, Integer or Decimal literal, or function returning that data type to apply to the function.
Required? | Data Type | Example Value |
---|---|---|
Yes | String (column reference) or Integer or Decimal literal | 3.14 |