This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am sure there are a gazillion examples and a bunch of ways to do this. I was just finding something existing that does this. Basically, I want to increment to next 10 value no matter what the number is. Example if I have an int of 23 I want to return 30. If I have an int of 47 I want to return 50.
There has to be something out there does this already without playing with decimals and multiplying/rounding etc... right?