number formating

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hi guys

just wondering how do I format a number from 1 to 0001 ?

eg.
1 to 0001
12 to 0012
532 to 0532

Thanks
Tom
 
Int32.ToString ("0000")

Hi guys

just wondering how do I format a number from 1 to 0001 ?

eg.
1 to 0001
12 to 0012
532 to 0532

Thanks
Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top