title: Adding numbers together
body: <p>I have this Jquery code and i need to add the var data and a number together...</p>
  
  <pre><code>$('div[name=price]').html("");  
      $.post("getprice.php", { unit: $('input[name=property]:checked').val() , date: $('#car').val() + $('#smh').val()  } ,function(data){
          $('div[name=price]').html(data + 1);
          $('#bprice').val(data);
  });
  </code></pre>
  
  <p>But data equals 499 but it just displays as 4991 when it should say 500</p>
  
  <p>Thanks</p>
  
  <p>Lee</p>