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

Help rounding a number

Status
Not open for further replies.

4345487

Programmer
Dec 31, 2002
132
US

Hi,

This maybe a strange question but I need to do this. I want to round a number alwasy to the hights value.

Example:

If I have a number 5.7 I wnat to round to 6
If I have a number 5.3 I also wante to round it to be 6 not 5

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top