-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 5.0
-
Component/s: core-libs
-
b59
-
generic
-
solaris_8
printf prints the wrong value in the following test case.
class B {
public static void main(String[] args) {
System.out.printf("%.2g%n", 99.9);
}
}
class B {
public static void main(String[] args) {
System.out.printf("%.2g%n", 99.9);
}
}
- relates to
-
JDK-5005104 (fmt) printf prints 99.99 as "10." on unix and "10 ." on windows
-
- Resolved
-