Community
Participate
Working Groups
Build Identifier: Version: 3.4.2 Build id: M20090211-1700 String pdecimal = Double.toString(guess); 'guess' is a double field with a decimal point. Sometimes a parenthesis or an asterisk replaces the last 'digit' of 'pdecimal'. If it's a parenthesis then it replaced an '8'. If an asterisk then it replaced a '9'. Reproducible: Sometimes Steps to Reproduce: 1. do some calculations in the double field 'guess'. 2. String pdecimal = Double.toString(guess); 3. look at pdecimal.
From your description, this sounds as a Java bug. I'd suggest opening a bug request with the maker of the JVM that you are using.