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

Rounding up 1

Status
Not open for further replies.

Kingsteveiv

Technical User
Oct 8, 2001
20
US
Im trying to round values up using the CInt Function. However, this function rounds down if the value returned is below .5. I would like it to round up regardless of the decimal value returned.

Is there a function out there to do such a thing?

ex. 25/3 = 8.3333 ----> 9


thank you for any help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top