You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Robbyn Gerhardt (JIRA)" <ji...@apache.org> on 2014/11/25 14:30:12 UTC
[jira] [Closed] (FLEX-34646) NumberFormatter calculated incorrectly
[ 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)