Use the MOD operator An even Number will return a 0, and odd number will return a 1 Jason Larson wrote: > > Can someone help me out? > > I have a cfloop that loops 6 times, I want to be able to be able to output > what loop number the current loop is on, and tell if the number is even or > odd. > > Any help would be greatly appreciated ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- Finding an Odd Number Jason Larson
- Re: Finding an Odd Number Howie Hamlin
- RE: Finding an Odd Number Evan Lavidor
- RE: Finding an Odd Number JustinMacCarthy
- CF 4.5.1 SP1 ramping up eisensmi
- Re: Finding an Odd Number Brian bouldernet
- Re: Finding an Odd Number Peter Theobald
- Re: Finding an Odd Number Dean Alexandrou
- Re: Finding an Odd Number Joseph Thompson
- RE: Finding an Odd Number Paul Mone
- RE: Finding an Odd Number [BitAnd(... James Brown
- RE: Finding an Odd Number [BitAnd(... Paul Mone
- RE: Finding an Odd Number lsellers
- RE: query error Jason Lees (National Express)
- RE: query error Will Swain
- RE: query error DeVoil, Nick

