SyntaxFix
Write A Post
Hire A Developer
Questions
You can use this:
NumberFormat formatter = new DecimalFormat("00"); String s = formatter.format(1); // ----> 01