Number.Exp

Updated on

Number.Exp is a Power Query M function that raises the mathematical constant e to the power of a given number. The function returns the result of the exponential function or null if the input is null.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

Number.Exp( number as nullable number ) as nullable number

Description

Returns the result of raising e to the power of number (exponential function).

  • number: A number for which the exponential function is to be calculated. If number is null, Number.Exp returns null.

Examples

Raise e to the power of 3.

// Output: 20.085536923187668
Number.Exp( 3 )

Other functions related to Number.Exp are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/number-exp