How do I round a double to 5 decimal places, without using DecimalFormat?
DecimalFormat
DecimalFormat roundFormatter = new DecimalFormat("########0.00000"); public Double round(Double d) { return Double.parseDouble(roundFormatter.format(d)); }