- Joined
- Feb 11, 2009
- Messages
- 505
- Points
- 0
I am looking for an equation into which you can plug a decimal number and your output will be the closest whole number.
Ex1. If my input is 3.49856, the output would be 3
Ex2. If my input is 10.6987, the output would be 11
Ex3. If my input is 0.3946, the output would be 0
And so on. Pretty much just an equation to round any number to the nearest whole number.
Thanks!
-Jakob
Ex1. If my input is 3.49856, the output would be 3
Ex2. If my input is 10.6987, the output would be 11
Ex3. If my input is 0.3946, the output would be 0
And so on. Pretty much just an equation to round any number to the nearest whole number.
Thanks!
-Jakob