Left of the dot precision
<p>What I'm trying to is to write something like this</p>

<pre><code>file &lt;&lt; someFunction(5) &lt;&lt; hex &lt;&lt; 3;
</code></pre>

<p>And to get an output like this <code>00003</code> instead of 3 (and 300 will be 00300, etc)</p>

<p>Note:- Sorry if this was asked before, I don't know what term to search for to get this</p>

<p>EDIT:- I mean the zero's to the left, i included the hex part just to be clear I want it to be compatible with this format</p>
