Several ways... 

<cfif find(".",yournumber)> <--- looks for a ".", which is a dead givaway
<cfif yournumber IS int(yournumber)> <--- detects if it is an integer value



> -----Original Message-----
> From: Tristram Charnley [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 9:02 AM
> To: CF-Talk
> Subject: Finding a whole number
> 
> 
> Does anyone know of a CF function to detect whether a number is a whole
> number or a fraction?
> 
> Tris
> 
> 
______________________________________________________________________
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

Reply via email to