int to hex string
<p>I need to convert and int to hex string.</p>

<p>when converting <code>1400 =&gt; 578</code> using <code>ToString("X")</code> or <code>ToString("X2")</code> but I need it like <code>0578</code>. </p>

<p>Can anyone provide me the IFormatter to ensure that the string has 4 chars long?</p>
