<@IF expr="<@Calc expr='<@Currow>%
2>0'>">bgcolor=#ffffff<@ELSE>bgcolor=#339999</@IF>
I think this is called Modulo. Is there a remainder after dividing by
2 or whatever.
<@Currow>%2>0 means that there is a remainder or odd. otherwise even
Wouldn't this work?
Mark
On Mar 22, 2007, at 11:56 AM, WebDude wrote:
In a <@ROWS>
<@CURROW>
</@ROWS>
Is there an easy way to detrmine if the number is even or odd So I
can do an <@IFEQUAL> statement?
ie. <@IFEQUAL <@CURROW> "ODD">Do This<@ELSE>Do That</@IF>
Thanks
WebDude
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
Mark Weiss
http://trustthechildren.blogspot.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf