# how to make the number 01

## Recommended Posts

Think what you like, opionions are like ass-holes, eveyone has one.

Don't argue with an idiot; people watching may not be able to tell the difference.

##### Share on other sites

Think what you like, opionions are like ass-holes, eveyone has one.

Everyone has a brain also. I'm just superior. Can't help it.
##### Share on other sites

You told a joke, good for you. lmao.

Don't argue with an idiot; people watching may not be able to tell the difference.

##### Share on other sites

You told a joke, good for you. lmao.

?? Where!
##### Share on other sites

Here's the one that pads as many zeros in front of a number that you want. I call it "Procrustes". Enjoy!

```\$pad = "0"
\$procrustes = InputBox("How long?","How long do you want your digits?",2)
\$a = InputBox("Enter a number:","Enter the number you want to convert","1")

for \$i = 1 to \$procrustes - stringlen(\$a)
next

MsgBox(4096,"",\$a)```

OR, this version has one less line:

```#include <string.au3>
\$procrustes = InputBox("How long?","How long do you want your digits?",2)
\$a = InputBox("Enter a number:","Enter the number you want to convert","1")

MsgBox(4096,"",\$a)```
Edited by jefhal
...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
##### Share on other sites

Here's the one that pads as many zeros in front of a number that you want. I call it "Procrustes". Enjoy!

```\$pad = "0"
\$procrustes = InputBox("How long?","How long do you want your digits?",2)
\$a = InputBox("Enter a number:","Enter the number you want to convert","1")

for \$i = 1 to \$procrustes - stringlen(\$a)
next

MsgBox(4096,"",\$a)```
I like it.

## Create an account

Register a new account

• ### Recently Browsing   0 members

×

• Wiki

• Back

• #### Beta

• Git
• FAQ
×
• Create New...