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:

LOG
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
log(49, 7)

...

log(49, 7)

Output: Returns 2.

Column reference example:

LOG
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
log(MyValue, 5) as: 'log_MyValue'

...

log(MyValue, 5)

Output: Returns the exponent that raises 5 to yield the MyValue column.

D s
snippetSyntax

LOG
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
log(result_numeric_value, base_numeric_value)

log(result_numeric_value, base_numeric_value)


ArgumentRequired?Data TypeDescription
result_numeric_valueYstring, decimal, or integerName of column or Decimal or Integer literal that is generated by the LOG function
base_numeric_valueYstring, decimal, or integerName of column or Decimal or Integer literal that serves as the base for computing the LOG function

...