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:

SQRT
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
sqrt(25)

sqrt(25)

Output:

...

Returns the square root of 25, which is 5.

Column reference example:

SQRT
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
sqrt(MyValue) as: 'sqroot_MyValue'

sqrt(MyValue)

Output:

...

 Returns the square root of the values of the MyValue column. 

D s
snippetSyntax

SQRT
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
sqrt(numeric_value)

sqrt(numeric_value)


ArgumentRequired?Data TypeDescription
numeric_valueYstring, decimal, or integerName of column or Decimal or Integer literal to apply to the function

...