How to format a counter to start as "001"

I want to initialize a counter to start from 001 and increment it gradually. But as soon as I declare it, it turns back to just 1.

Can someone please help me with this?

Thanks

Hi kunalj,

You can increment starting from 1 then convert your counter to intnumber.ToString(“000”) for other use.

2 Likes

Thanks @Emman_Pelayo this is what I was looking for.
Cheers!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.