Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211720

Parsing scientific notation with NumberFormat doesn't give expected output when plus sign is used

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      A DESCRIPTION OF THE PROBLEM :
      Using NumberFormat.getInstance(Locale.US).parse(value).doubleValue();
      1) When the value is 1.699800000000000E+004, the result is 1.6998.
      2) When the value is 1.699800000000000e004, the result is 1.6998.



        Attachments

          Activity

            People

            • Assignee:
              nishjain Nishit Jain (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: