Convert int to string with leading zeros
<p>I have an integer which I want to convert to a string with leading zeros.</p>

<p>So I have <code>1</code> and want to turn it into <code>01</code>. <code>14</code> should turn into <code>14</code> not <code>014</code>.</p>

<p>I tried:</p>

<pre><code>let str = (string 1).PadLeft(2, '0') // visual studio suggested this one
let str = (string 1).PadLeft 2 '0'
let str = String.PadLeft 2 '0' (string 1)
</code></pre>

<p>But neither work :(
When I search for something like this with F# I get stuff with <code>printfn</code> but I don't want to print to stdout :/</p>

<p>Disclaimer: This is my first F#</p>