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 r0811

D toc

Excerpt

Computes the value of e raised to the specified power. The value can be a Decimal or Integer literal or a reference to a column containing numeric values.

  • e or Euler's Number is the value that the following equation approaches as n grows large: (1 + (1/ n)) n .

D s lang vs sql

D s
snippetBasic

Numeric literal example:

D lang syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value: exp(1)

exp(1)

Output: Returns the value of e 1, which is approximately 2.718281828.

Column reference example:

D lang syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value: exp(MyValue) as: 'exp_MyValue'

exp(MyValue)

Output: Returns the value of e to the power of the value in the MyValue column.

D s
snippetSyntax

D lang syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value: exp(numeric_value)

exp(numeric_value)


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

D s lang notes

numeric_value

Name of the column or numeric literal whose value is the exponent of e.

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

D s
snippetExamples

Example - Exponential functions

Include Page
EXAMPLE - Exponentional Functions
EXAMPLE - Exponentional Functions

D s also
labelmath