You can use String.format("%.2f", d), your double will be rounded automatically.
String.format("%.2f", d)
One easy way to do it:
Double d; Int i; D+=0.005; i=d*100; Double b = i/100; String s = b.toString():