Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.2
-
None
-
I was running Windows XP SP2 and using Commons IO 1.2, Java 1.5 update 9 when I got this problem.
Description
Code:
public static void main(String[] args) {
double[] tests = new double[]
{34.345, -345.5645, 545.12, 10.043, 7.123456789123};
for (int i = 0; i< tests.length ;i++)
}
Result:
34.344969482421874
-345.5645
545.11951171875
10.043
7.123456789123
Note:
In my opinion the values shouldn't be changed at all.