IsNumeric

"-->
 IsNumeric (string) 

Description

Checks to see if a string can be converted to a numeric value and returns true or false.

Example

 <cfset exampleVariable = "1">  <cfif IsNumeric(exampleVariable)>  This is a number  <cfelse>  This is not a number.  </cfif>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net