title: How to format a float number to the right in C?
body: <p>I'd like to print a float number with only 2 decimal places and align it to the right in a 6 characters space.</p>
  <p>I tried to do this, but didn't work:</p>
  <pre><code>printf(&quot;%6.2f&quot;, value);
  </code></pre>