number formatting

Hi,I want to append "0" to single digit numbers like 1, 2, 3, 4,..etc. I want to do it using java .eg... 01,02,03,04.........................10,11,12...............thanks in advance
[216 byte] By [Sundar.nagarathinama] at [2007-11-26 20:11:24]
# 1
java.text.DecimalFormat.I believe "00" is the format you want, or maybe "#,#00", if you want a thousands separator.
jverda at 2007-7-9 23:16:12 > top of Java-index,Java Essentials,Java Programming...