LSIsCurrency

"-->
 LSIsCurrency (string) 

Description

Checks whether a string is formatted as a specific locale currency string. Returns true if the current locale is a Eurozone country and the string is a valid currency.

Example

 <cfloop index="currentLocale" list="#Server.ColdFusion.SupportedLocales#">  <cfset exampleLocale = SetLocale(currentlocale)>  <cfoutput>   #currentLocale#  Is 60.00 a currency: #LSIsCurrency(60.00)#  Is $60.00 a currency: #LSIsCurrency($60.00)#  Is $1,300 a currency: #LSIsCurrency($1,300.00)#  </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