Glad you were able to isolate it.
Now we can all have complete faith in Oracle's java again.
Type: Posts; User: Norm
Glad you were able to isolate it.
Now we can all have complete faith in Oracle's java again.
What is output if you write the String to the log?
Or any other debug output screen?
That environment has a lot in it beside Java. How about a problem with Android?
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.
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...
You have not shown the code that displays the value in your posting.
Can you post the code that displays that value?
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)); //...
I think its a case of the IDE doing something on its own vs using Oracle's programs.