I need to output integer values in a 4 digit number(ie 4 = 0004) I know i can do this using VB's format command but is there somehting like this in java?
Thanks
Printable View
I need to output integer values in a 4 digit number(ie 4 = 0004) I know i can do this using VB's format command but is there somehting like this in java?
Thanks
Offhand i couldn't tell you the specific method but im sure that it is contained within either the java.text.NumberFormat or java.text.DecimalFormat classes.
thats good but if you can find the specifics it would be appreciated