java logical issue dealing with numbers
<p>I'm having a real case of the monday's. I'm trying to traverse a table of results based on the entry I'm looking for. For instance, the page displays 15 results at a time, and can have n results. I can't get the logic down to traverse these pages. I want to do this:
If entry isn't 1-15 go to page 2, if not 16-30 go to page 3, etc. Until I get to the page that the entry is on.
Another example: entry I'm looking for is 64 out of 300 entries, so I need to get to page 5 to view the entry.</p>

<p>I was doing different things with multiples of 15, modulo, etc, and can't get it to work.</p>

<p>Any help with this would be appreciated, getting another cup of coffee...</p>
