A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Identify even numbers or rows in a loop
Joined: Sep 27, 2004
Jan 17, 2005 16:49:00
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?
You can never drink too much
Author and ninkuma
Joined: Jan 10, 2002
Jan 17, 2005 17:03:00
(rowNumber % 2) == 0
Asking smart questions
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:
subject: Identify even numbers or rows in a loop
Can you eplain this code
what is the difference
How to identify infinite loop in servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015