Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

format a number with leading zeroes

Status
Not open for further replies.

mrsbean

Technical User
Jul 14, 2004
203
US
I need to format the output of a number so that it is always 3 digits with leading zeroes. For example, the stored value might be 7. I would want to show that number as 007.

The number is not a date/time value ... When I poked around looking for a formatting tutorial which would show me how to, I found stuff on date/time with leading zeroes.

All help is much appreciated.

MrsBean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top