QMRITools`
QMRITools`

StringPadInteger

StringPadInteger[num]

converts the integer num to a string and pads it with zeros to length 3.

StringPadInteger[{num,len}]

converts the integer num to a string and pads it with zeros to length len.

StringPadInteger[pre,num]

the same but with prefix pre.

StringPadInteger[pre,{num,len}]

the same but with prefix pre.

StringPadInteger[num,post]

the same but with postfix post.

StringPadInteger[{num,len},post]

the same but with postfix post.

StringPadInteger[pre,num,post]

the same but with pre and postfix pre and post.

StringPadInteger[post,{num,len},post]

the same but with pre and postfix pre and post.

Examples