I need to round down, or round up a floaitng point number to it's closest integer value.
So for example 3.49999 is closer to 3 so it would round down to the integer 3.
3.5002 is closer to 4 so this would round up to the integer 4.
I do not need to be concerned negative numbers. Can someone show me how to do this?
Here are more examples to make clear what I am talking about
View Complete Post