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

...

Numeric literal example:

ROUND(TAN(RADIANS
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
round(tan(radians(30)),3)

round(tan(radians(30)),3)

Output:

...

 Returns the computation of the tangent of a 30-degree angle, which is converted to radians before being passed to

...

the tan function. The output value is rounded to three decimals: 0.577.

Column reference example:

TAN
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
tan(X) as: 'tanX'

tan(X)

Output:

...

 Returns the tangent of the radians values in X column.

D s
snippetSyntax

TAN
d-code-lang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
tan(numeric_value)

tan(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

...