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

CurrencyFormatter.format() gives wrong result if the number has "e" exponent.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.5 (Release)
    • Apache Flex 4.10.0
    • Formatters
    • None
    • Affected OS(s): Mac
      Affected OS(s): Mac OS 10.6
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1.Create a CurrencyFormatter
      2.Try format this number (2.277963176590994e-8)
      3.You will get (-8)

      Actual Results:
      -8

      Expected Results:
      2.277963176590994e-8

      Workaround (if any):
      well, override the formatter and make sure to expand the exponent!

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: