title: Swift converting double to string
body: <pre><code>var endWeight = String(format:"%2f",weight)
  </code></pre>
  
  <p>This code was working in the latest beta, it still compiles without error but returns <code>0.00</code> in the GM.</p>
  
  <p><code>weight</code> is a double.</p>