Rolando una cadena con 0 en Java
String.format("%05d", yournumber);
//%05 means length of 5
// 25 becomes 00025
Spotless Squirrel
String.format("%05d", yournumber);
//%05 means length of 5
// 25 becomes 00025