LSParseCurrency

Converts a locale-specific currency string into a formatted number. Attempts conversion by comparing the string with each the three supported currency formats (none, local, international) and using the first that matches.

Returns: string

Usage

LSParseCurrency( string [, locale ] )

Arguments

Argument Description
string
(string, required)

A locale-specific string

locale
(locale, optional)

Locale to use instead of the locale of the page when processing the function

Examples

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

See also