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 next

...

Excerpt

Computes the degrees of an input value measuring the radians of an angle.  The The value can be a Decimal or 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 see RADIANS Function.

D s lang vs sql

D s
snippetBasic

Numeric literal example:

ROUND(DEGREES
d-codelang-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:

DEGREES
d-codelang-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

DEGREES
d-codelang-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

...

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

...

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

D s also
labelmath