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] [Created] (FLEX-34645) CurrencyFormatter the currencySymbol not null
Date Tue, 25 Nov 2014 12:09:12 GMT
Robbyn Gerhardt created FLEX-34645:
--------------------------------------

             Summary: 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
             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