Converting number to string

I have textbox, where user can input number
I want this number to be converted to string with 6 char length
for example:

input -> result
125 -> 000125
6757 -> 006757
5 -> 00005

How can I do that?

https://puravidaapps.com/snippets.php#2leadingZeros

Thanks a lot! It worked!

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