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] [Closed] (FLEX-34646) NumberFormatter calculated incorrectly
Date Tue, 25 Nov 2014 13:30:12 GMT

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

Robbyn Gerhardt closed FLEX-34646.
----------------------------------
    Resolution: Fixed

Not a bug, localization not set

> NumberFormatter calculated incorrectly
> --------------------------------------
>
>                 Key: FLEX-34646
>                 URL: https://issues.apache.org/jira/browse/FLEX-34646
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.13.0
>         Environment: see, for example
>            Reporter: Robbyn Gerhardt
>             Fix For: Apache Flex 4.14.0
>
>
> var myNumber:Number = 10.00;
> //Output: 10
> var newNumber:NumberFormatter	=	new NumberFormatter();
> newNumber.decimalSeparatorTo	=	",";
> newNumber.precision				=	2;
> newNumber.useThousandsSeparator	=	false;
> var newNumberOutput:String	=	newNumber.format(myNumber);
> //Output: 1000,00



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

Mime
View raw message