LSIsNumeric

"-->
 LSIsNumeric (string) 

Description

Check whether a string can be formatted in a specific locale format. Returns true if the string can be formatted in the current locale.

Example

 <cfloop index="currentLocale" list="#Server.ColdFusion.SupportedLocales#">  <cfset exampleLocale = SetLocale(currentlocale)>  <cfoutput>   #currentLocale#  Is 10 numeric: #LSIsNumeric (10)#  Is $10.00 numeric: #LSIsNumeric ($10.00)#  Is yes numeric: #LSIsNumeric (yes)#  Is .99 numeric: #LSIsNumeric (.99)#  </cfoutput>  </cfloop>  


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