Search:

Type: Posts; User: Norm

Search: Search took 1.78 seconds.

  1. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    Glad you were able to isolate it.
    Now we can all have complete faith in Oracle's java again.
  2. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    What is output if you write the String to the log?
    Or any other debug output screen?
  3. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    That environment has a lot in it beside Java. How about a problem with Android?
  4. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    If your not going to post code (a SSCCE) then you might as well close this thread.
    Nothing can be done without code that shows the problem.
  5. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    What do we need to do with the code you posted to get the result that this thread is talking about?

    The posted code isn't in a class with a main() method so what do we do with it???

    You need to...
  6. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    You have not shown the code that displays the value in your posting.
    Can you post the code that displays that value?
  7. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    Did they say which version of java?
    This works for me on 3 versions of java:


    double dbl = 0.00891396012251904;
    System.out.println("dbl=" + Double.toString(dbl)); //...
  8. Re: Double.toString bug. Spurious right parenthesis and an asterisk replace digits.

    I think its a case of the IDE doing something on its own vs using Oracle's programs.
Results 1 to 8 of 8