LSIsCurrency

Determines whether a string is a valid representation of a currency amount in the current locale.

Returns: boolean

Usage

LSIsCurrency( number [, locale ] )

Arguments

Argument Description
number
(string, required)

A currency string

locale
(locale, optional)

Examples

<cfoutput>
	#LSIsCurrency(4.5)#<br>
	#LSIsCurrency("$4.50")#<br>
	#LSIsCurrency("£4.50", "English (UK)")#
</cfoutput>

See also