The problem is in the System.out.println. For example, try the following
Code:
System.out.printf("%f", 3.14 + 1.49 + 0.99 + 3.26 + 4.11);
It will print the correct value