title: On keyup if value greater than X do something
body: <p>I have two questions, using below code:</p>
  
  <pre><code>&lt;h2&gt;Daily KW usage&lt;/h2&gt;
  &lt;p&gt;Multiply daily usage by 91, divide 91 and divide 5&lt;/p&gt;
  &lt;input name="box11" type="text" /&gt;&lt;br /&gt;
  &lt;input name="box21" type="hidden" value="91" /&gt;
  &lt;input name="box31" type="hidden" value="5" /&gt;&lt;br /&gt;
  &lt;input name="box41" class="box41" type="text" /&gt;
  
  &lt;div class="" id="showSearchDiv" style="display:none;margin-top:10px;height:450px;background-color:red;"&gt;&lt;/div&gt;
  
  $('input[name="box11"]').keyup(function() {
      var box11 = $('input[name="box11"]').val();
      var box21 = $('input[name="box21"]').val();
      var box31 = $('input[name="box31"]').val();
      $('input[name="box41"]').val(box11 * box21 / box21 / box31);
  });
  </code></pre>
  
  <p>Firstly, once the calculation is done, before entering the answer into box41 as it currently does, how do I truncate/round-down the value to two decimal places?</p>
  
  <p>Secondly, when the value is calculated and placed in box41, I am trying to work out how if this value is greater than 10 to show #showSearchDiv?</p>
  
  <p>I understand the basics of show/hide etc but can't seem to work out how to tie it into the one operation with keyup.</p>
  
  <p>Any help or pointers would be greatly appreciated.</p>