I need to round a number (such as 7.2342331) to the nearest integer and store that in a variable...any ideas on how to do that? sprintf function?
I don't know if the number needs to be rounded up, or rounded down...Thanks for your help.
edited: Sun May 11 13:50:19 2003 by jeffa - (title change: was "rounding")
In reply to rounding to nearest integer by dsm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |