Computes the radians of an input value measuring degrees 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(RADIANS(57.2728),4)

Output: Generates a column containing the computation in radians of 57.2728 rounded to four digits, which is 1.0000.

Column reference example:

derive type:single value: RADIANS(myDegrees) as: myRads'

Output: Generates the new myRads column containing the conversion of the values in MyDegrees column to radians.

derive type:single value: RADIANS(numeric_value)

ArgumentRequired?Data TypeDescription
numeric_valueYstring, decimal, or integerName of column, Decimal or Integer literal, or function returning those types to apply to the function

numeric_value

Name of the column, Integer or Decimal literal, or function returning that data type to apply to the function.

Required?Data TypeExample Value
YesString (column reference) or Integer or Decimal literal10

Example - DEGREES and RADIANS functions