title: In jQuery, what's the best way of formatting a number to 2 decimal places?
body: <p>This is what I have right now: </p>
  
  <pre><code>$("#number").val(parseFloat($("#number").val()).toFixed(2));
  </code></pre>
  
  <p>It looks messy to me.  I don't think I'm chaining the functions correctly.  Do I have to call it for each textbox, or can I create a separate function?</p>