title: Using jQuery to display a value to 2 decimal places in an input box while retaining more precision
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="http://stackoverflow.com/questions/1726630/javascript-formatting-number-with-exactly-two-decimals">JavaScript: formatting number with exactly two decimals</a>  </p>
  </blockquote>
  
  
  
  <p>Maybe I'm going about this the wrong way, but I have some javascript which is filling up some text inputs with numbers like 12.434234234. I want the text input to only display 12.43, but I'd like it's value to remain as 12.434234234.</p>
  
  <p>Is this even possible? If not, what would be the best work-around?</p>
  
  <p>Thanks!
  John.</p>
  
  <p>--</p>
  
  <p>Although there were some very good answers here, I was looking for something like 'why don't you just use this clever one liner thing..' - hence I've ticked the most basic approach which is to just use an extra field. Thanks though! Marked up all answers.</p>