VBA Exp Function: The Exp function in VBA returns the value of the exponential function ex (mathematical constant ‘e’ raised to specified power) for the given value of x.

Syntax

Parameter

Number (required) –This parameter represents the power that you want to raise the constant e to.

Return

This function returns the value of the exponential function ex (mathematical constant ‘e’, the base of the natural logarithm raised to specified power) for the given value of x.

Example 1

Output

7.38905609893065

VBA Exp Function

Example 2

Output

4.48168907033806

VBA Exp Function

Example 3

Output

Excel VBA Exp Function

Pin It on Pinterest

Share This