jQuery in Action, 2nd 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 60082
    
  65



[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Identify even numbers or rows in a loop
 
Similar Threads
what is the difference
Can you eplain this code
How to identify infinite loop in servlet
looped menu
String compression