<CFLOOP FROM=1 to=39 index="a">
<CFIF a MOD 3 EQ 0><cfoutput>#a#</cfoutput></CFIF>
</CFLOOP>
Larry Juncker
Senior Cold Fusion Developer
Heartland Communications Group, Inc.
[EMAIL PROTECTED]
-----Original Message-----
From: Melanie Maddix [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 8:34 AM
To: CF-Talk
Subject: How to tell if a number is a multiple of 3?
Hello,
I am trying to figure out how to use CF code to determine whether or not a
variable is a multiple of 3.
Does anyone have any suggestions?
Thank you,
Melanie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists