The currency symbol and a number of characters it consists of is unknown
for existing field. The user can select any currency and I have to show a
new currency symbol right after.


On Mon, Jul 14, 2014 at 7:26 AM, jfb <[email protected]> wrote:

> This should work:
> var stringValue:String = "$1000"
> var numericValue:Number = parseFloat(stringValue.replace("$",""));
>
> If you like to put the currency back use:
> var cf:CurrencyFormatter = new CurrencyFormatter();
> cf.currencySymbol = '€';
> var stringValue:String = cf.format(numericValue);
>
> I hope this help.
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Currency-value-tp7244p7256.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to