I have an int between 1 - 99. How do I get it to always be a double digit, ie: 01, 04, 21?
Using
String.format("%02d", num)
Is probably the best option.