flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbyn Gerhardt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34645) CurrencyFormatter the currencySymbol not null
Date Tue, 25 Nov 2014 12:11:13 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robbyn Gerhardt updated FLEX-34645:
-----------------------------------
    Description: 
var myNumber:Number = 10;
//Output: 10

var fomratter:CurrencyFormatter	=	new CurrencyFormatter();
fomratter.currencySymbol						=	null;
fomratter.decimalSeparatorTo					=	",";
fomratter.precision								=	2;
fomratter.useThousandsSeparator					=	false;

var newNumber:String	=	fomratter.format(myNumber);

//Output: 10,00 $

  was:
var myNumber:Number = 10;
//Output: 10

var fomratter:CurrencyFormatter	=	new CurrencyFormatter();
fomratter.currencySymbol						=	null;
fomratter.decimalSeparatorTo					=	",";
fomratter.precision								=	2;
fomratter.useThousandsSeparator					=	false;

var newNumber:String	=	fomratter.format(myNumber);

//Output: 10.00 $


> CurrencyFormatter the currencySymbol not null
> ---------------------------------------------
>
>                 Key: FLEX-34645
>                 URL: https://issues.apache.org/jira/browse/FLEX-34645
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.13.0
>         Environment: If I set the value currencySymbol to null, then the default icon
coming out
>            Reporter: Robbyn Gerhardt
>              Labels: currency, formatter
>             Fix For: Apache Flex 4.14.0
>
>
> var myNumber:Number = 10;
> //Output: 10
> var fomratter:CurrencyFormatter	=	new CurrencyFormatter();
> fomratter.currencySymbol						=	null;
> fomratter.decimalSeparatorTo					=	",";
> fomratter.precision								=	2;
> fomratter.useThousandsSeparator					=	false;
> var newNumber:String	=	fomratter.format(myNumber);
> //Output: 10,00 $



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message