Say I have an int that represents the number of rows in a collection, and I want to determine the number of pages needed to store the collection for a specific page size.
So, if I have a page size of 20 and a collection size of 89, I need 5 pages.
How does the Math.Round function work to get what I need? I need to round to the next integer, not the closest.
Thanks for your suggestions.
source
share