Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions
  8. Creating Custom Functions
  9. Custom Function API Reference

Transformation Language Reference

Transformation Language Reference

EXP

EXP

Returns e raised to the specified power (exponent), where e=2.71828183. For example, EXP(2) returns 7.38905609893065. You might use this function to analyze scientific and technical data rather than business data. EXP is the reciprocal of the LN function, which returns the natural logarithm of a numeric value.

Syntax

EXP(
exponent
)
The following table describes the argument for this command:
Argument
Required/
Optional
Description
exponent
Required
Numeric datatype. The value to which you want to raise e. The exponent in the equation e^
value
. You can enter any valid transformation expression.

Return Value

Double value.
NULL if a value passed as an argument to the function is NULL.

Example

The following expression uses the values stored in the Numbers port as the exponent value:
EXP( NUMBERS )
NUMBERS
RETURN VALUE
10
22026.4657948067
-2
0.135335283236613
8.55
5166.754427176
NULL
NULL