hi all!...
i have a small doubt... incase i have a database field for ID and i want my id to be of 5 digit field length... and append with zeros incase there are less than 5 digits...
example if the number is 34 it should become 00034


please help!.. thnx! n good day!

Recommended Answers

All 2 Replies

Thnaks a lot!... helped my requirement!...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.