Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

D toc
Excerpt

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.

  • A unit of 1 radian identifies the angle of a circle where the radius of the circle equals the length of the arc on the circle for that angle. This value corresponds to approximately 57.3 degrees.
  • Input units are in degrees.
  • You can convert from radians to degrees. For more information, see DEGREES Function.

D s
snippetBasic

Numeric literal example:

D code

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:

D code

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. 

D s
snippetSyntax

D code

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

D s lang notes

numeric_value

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

  • Missing input values generate missing results.
  • Literal numeric values should not be quoted. Quoted values are treated as strings. 
  • Multiple columns and wildcards are not supported.

D s
snippetusage

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

D s
snippetExamples

Example - DEGREES and RADIANS functions

Include Page
EXAMPLE - DEGREES and RADIANS Functions
EXAMPLE - DEGREES and RADIANS Functions

D s also
labelmath