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.

lsParseCurrency(String) → returns string

lsParseCurrency Argument Reference

String string

Examples sample code invoking the lsParseCurrency function

LSParseCurrency coverts a locale-specific currency string to a number.


Expected Result: 120.5

Fork me on GitHub