Java - My program is rounding down when it should be rounding up
195
How to round a number to n decimal places in Java
128278
How to prevent Round with hidden fractions
59342
My floating point number has extra digits when I print it
32454
Why does the division of two integers return 0.0 in Java?
103586
Applying casts to the results of integer and floating point division: what's going on here?
133748
Why doesn't Java throw an Exception when dividing by 0.0?
130723
Why is the result of a raster calculation integer when it should be decimal?
48357
JavaScript displaying a float to 2 decimal places
104476
Java: Double Value Comparison
66269
Scanner double value - InputMismatchException
47542
How come this is happening in java?
23459
How can I truncate a double to only two decimal places in Java?
28043
Is there a function to round a float in C or do I need to write my own?
123022
Confusion with floating point numbers
110254
Math.Pow is not calculating correctly
44073
Why does Perl's sprintf not round floating point numbers correctly?
19232
Strange floating-point behaviour in a Java program