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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to do some rounding.. I hav

Status
Not open for further replies.

jroldan

Programmer
Feb 20, 2001
4
0
0
US
I need to do some rounding..
I have a database with numbers ranging from .68, 2.94, to 55.97 and so on...
I need to round the numbers to the nearest .09
What type of code do I use to replace the .68 with .69 or 55.97 with 55.99 or the 2.94 with the number nearest to .09?
Thanks in advance
 
Hi,
In this case..

myRoundedNumber = ROUND(myNumber+.01,1)-.01

:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top