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

format() method in NumbeFormatter should understand numbers in Scientic notation e.g. 1.2E7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • Apache Flex 4.10.0
    • Formatters
    • None
    • Affected OS(s): Windows
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      1. var nf:NumberFormatter = new NumberFormatter();
      2. nf.precision = 2;
      3. var v:String = nf.format(1.2E7);

      Actual Results: 7

      Expected Results: 12,000,000

      Workaround (if any): nf.format(12000000);

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: