title: Why won't String.format() give me a left zero-padded floating point output?
body: <p>I'm trying to get the decimal <code>8.6</code> to render to a left zero-padded string i.e. <code>08.6</code>.</p>
  
  <p>Why doesn't the following seem to work?</p>
  
  <pre><code>double number = 8.6;
  String.format("%03.1f", number); //expect "08.6", get "8.6"
  </code></pre>
  
  <p>The formatting string seems to be correct. What am I doing wrong?</p>