Increment from "001 to 010" - Design Script?

I am using the design script “1 …10;” to make a list that counts from 1 to 10… Is there a script or syntax that allows for counting from “001 to 010” making it a 3 digit number?

Thanks!

1 Like

Can the output be a string? If so, the String.PadLeft node can be used to fill in any “missing” zeros on the left side after converting your number to a string.

ZeroPaddingIntegerGraph

 

 

 

 

 

 

 

 

 

 

 

 

 

This blog article has more detail.

 

1 Like

Hi Jefrey,

Try this:

1 Like

You guys rock! THANKS!

Oops! It looks like I and David Replied at the same time:-). David your solution is good