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

XMLWordPrintable

    • x86_64
    • windows_10

      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.



            Assignee:
            Nishit Jain
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: