Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r097

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 lang vs sql

D s
snippetBasic

Numeric literal example:

D lang syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value: round(degrees(1.0000),4)

round(degrees(1.0000),4)

Output: Returns the computation in degrees of 1.0000 radians, which is 57.2728, rounded to 4 decimals.

Column reference example:

D lang syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value: degrees(myRads) as: myDegrees'

degrees(myRads)

Output: Returns the conversion of the values in MyRads column to degrees.

D s
snippetSyntax

D lang syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value: degrees(numeric_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