Home page
 
 Home 
 ASP 
 PHP 
 SQL 
 HTML 
 JavaScript 
 Search 
 Contact 
 


Search
or browse popular tags
Got questions?

We got answers.

Ask your question about PHP, ASP, Javascript, HTML, CSS, hosting and get professional help, free of charge.

Access Functions
Subscription

Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.

Privacy Policy

RSS Twitter

Home / SQL / Access Functions

 

 

Access: Exp Function

Print Bookmark and Share

In Access, the Exp function returns a double specifying e raised to the nth power. The constant e is approximately 2.718282.

The syntax for the Exp function is:

Exp ( number )

The argument number can be any valid numeric expression. If the value of number exceeds 709.782712893, an error occurs.

Exp(3.1)      returns 22.197951281
Exp(-2)       returns 0.1353352832
Exp(2)        returns 7,3890560989

VBA Code

Dim MyNumber
MyNumber = Exp(21)

This example uses the Exp function to return e raised to a power. Now the MyNumber variable would contain the value 13.18815734.

SQL query

You can also use the Exp function in a query.

SELECT Exp([OwnerId]) AS Expr1
FROM Orders


If you'd like to see how it works, enter SQL statement and press Execute
 

Need help with ASP, PHP, Javascript?

Let our experts help you.
 
 
ASPRunner.NET - code generator for ASP.NET
Web hosting from $5/month (PHP,ASP,MySQL,unlimited emails)



Tags: ACCESS FUNCTION EXP EXPONENT CONSTANT

Add To: Add to dzone dzone | Digg this digg | Add to del.icio.us del.icio.us | Stumble it stumbleupon

  • Comments





Copyright © 2005-2009             www.WebCheatSheet.com All Rights Reserved.