LSIsCurrency()
Determines whether a string is a valid representation of a currency amount in the current locale.
LSIsCurrency( number=string, locale=locale );
Returns: Boolean
Examples
<cfoutput>
#LSIsCurrency(4.5)#<br>
#LSIsCurrency("$4.50")#<br>
#LSIsCurrency("£4.50", "English (UK)")#
</cfoutput>
See also
- Currency features
- Strings
- Formatting
- Internationalization
- Decision logic
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)