J
Jerry Manner
Hi
I am a newby in Java and am trying to format a string into a fixed
number of positions( in this case 5).
So if I have a "5" in should be "00005", and "23" should be "00023".
I hav tried looking at the classes 'import java.text.NumberFormat' and
'import java.text.Format', but I didn't get far.
Can anyone help me how I can do this in java?
Any help will be appreciated.
Regards
I am a newby in Java and am trying to format a string into a fixed
number of positions( in this case 5).
So if I have a "5" in should be "00005", and "23" should be "00023".
I hav tried looking at the classes 'import java.text.NumberFormat' and
'import java.text.Format', but I didn't get far.
Can anyone help me how I can do this in java?
Any help will be appreciated.
Regards