Yup.

 

<@If "<@calc expr='<@currow>/2'> contains '.'"> .. This value is odd </@if>

 

=)

 

-S

 

Shane Pearlman

831.345.7033

S <http://www.shaneandpeter.com> &P, Inc.

 

 

  _____  

From: WebDude [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 22, 2007 11:56 AM
To: [email protected]
Subject: Witango-Talk: Determining even or odd

 

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

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to