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

FallbackNumberFormatter: Parse cannot work well when parsing 2,2 under german locale

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Later
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: Formatters
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1.Declare a NumberFormatter instance with German locale, like de-DE and set its enforceFallback to true.
      2.Parse number string '2,2' by calling parseNumber method

      Actual Results:
      The parse result is 22.

      Expected Results:
      The parse result should be 2.2 since the default decimalSeparator under locale de-DE is ','

      Comments:
      Besides call 'parseNumber' method, getting parse result by calling 'parse' method can also repro this issue.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment