title: Javascript/jQuery - Display inches in feet and inches
body: <p>I'm making a BMI calculator (see JSFiddle - <a href="http://jsfiddle.net/b5ww2/" rel="nofollow">http://jsfiddle.net/b5ww2/</a>) and I want the height in inches to display in feet and inches. I also want the weight in pounds to be displayed in stones and pounds.</p>
  
  <p>This is the code I'm using to convert the slider value to cm and inches:</p>
  
  <pre><code>slide: function( event, ui ) {
    $( "#heightslidecm" ).html( ui.value + 'cm' );
    $( "#heightslidein" ).html( (ui.value*0.393700787).toFixed(0) + 'in' );
  }
  </code></pre>
  
  <p>My js knowledge isn't great - especially when it comes to the math aspect.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance</p>