jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Identify even numbers or rows in a loop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Identify even numbers or rows in a loop" Watch "Identify even numbers or rows in a loop" New topic
Author

Identify even numbers or rows in a loop

Reggie McDougal
Ranch Hand

Joined: Sep 27, 2004
Posts: 69
Can anyone tell me how I might identify if an element in a loop is even.

eg. a rowcount var - if it can be divided by 2 etc..

does any one have a code example?

Reg


You can never drink too much
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63202
    
  69



[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Identify even numbers or rows in a loop
 
It's not a secret anymore!