[ASK] How to change the number 45 to 00045 ? please

How to change the number 45 to 00045 ? please

See here: App Inventor Code Snippets | Pura Vida Apps

4 Likes

I can’t Understand What Are You Telling

1 Like

The op asked for a way to ad leading zeroes to a number. Example: 45 will be formated 00045 if you want a maximum of 4 leading zeroes.

Edit
In this case, the length of Number should be greater than or equal to Digits
Use @Italo’s solution.

blocks (73)

3 Likes