Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-15147

Formating of large numbers returns incorrect results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • None
    • Formatters
    • None
    • Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Steps to reproduce:

      var val:Number = 235345-242+99209323-2344444444444444444444;

      var formatter:NumberFormatter = new NumberFormatter();
      formatter.precision = 0;
      formatter.useThousandsSeparator = true;
      formatter.useNegativeSign = true;

      var valStr:String = formatter.format(val);

      Actual Results:
      -2

      Expected Results:
      -2,344,444,440,000,000,000,000

      Workaround (if any):
      Don't know of any

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: