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 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.

  • Input units are in radians.
  • You can convert from degrees to radians. For more information, see RADIANS Function.

D s
snippetBasic

Numeric literal example:

D code

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:

D code

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. 

D s
snippetSyntax

D code

derive type:single value: DEGREES(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 literal3.14

D s
snippetExamples

Example - DEGREES and RADIANS functions

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

D s also
labelmath