Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL in Access 97 1

Status
Not open for further replies.

XeroLui

Technical User
Jun 6, 2001
12
HK
How can I round up (or down) a number in SQL?
i.e. round up 12.56 to 12.6 or round down 12.54 to 12.5.
i'm try to use "round" function in Access 97 but not sucessful and use "round" in Access 2000 it work! I don't know why....
 
The problems with rounding in Access 97 and earlier versions are well documented. Check the following articles.

ACC: How to Round a Number Up or Down by a Desired Increment

Modules: Implementing a custom Rounding procedure

Terry
------------------------------------
Experience is the hardest kind of teacher. It gives you the test first, and the lesson afterward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top