Home Privacy Policy Feedback Link to us Site Map

Access: Exp Function


In Access, the Exp function returns e raised to the nth power, where e = 2.71828183.

The syntax for the Exp function is:

Exp ( number )

number is the power to raise e to.


For example:

Exp (3) would return 20.085536923
Exp (3.1) would return 22.197951281
Exp (-3) would return 0.0497870684

VBA Code

The Exp function can be used in VBA code. For example:

Dim LNumber As Double

LNumber = Exp(3)

In this example, the variable called LNumber would now contain the value of 20.085536923.


SQL/Queries

You can also use the Exp function in a query.