title: Convert floating point number to a certain precision, and then copy to string
body: <p>I have a floating point number, say <code>135.12345678910</code>. I want to concatenate that value to a string, but only want <code>135.123456789</code>. With print, I can easily do this by doing something like:</p>
  
  <pre><code>print "%.9f" % numvar
  </code></pre>
  
  <p>with <code>numvar</code> being my original number. Is there an easy way to do this?</p>