Floating point numbers with two points after comma
String formated=String.format("%.2f:%.2f",0.22223333333,0.444455555555);

integer
String formated=String.format("%d",1000);