LSIsNumeric (string) DescriptionCheck 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> |