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!

Rounding to Whole numbers

Status
Not open for further replies.

klaidlaw

Programmer
May 28, 2008
140
US
I am using Visual Basic 2008, this is probaly a stupid question but what do I put in to round a number to the nearest whole number?

Thank for your time!
 
Take a look at the Math.Round method. There are a number of overloads available.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top