 |
How to round a number to n decimal places in Java - Stack Overflow
What I'd like is a method to convert a double to a string which rounds using the half-up method. I.e. if the decimal to be rounded is a 5, it always rounds up the previous number.
stackoverflow.com |
 |