title: How can I round to whole numbers in JavaScript?
body: <p>I have the following code to calculate a certain percentage:</p>
  
  <pre><code>var x = 6.5;
  var total;
  
  total = x/15*100;
  
  // Result  43.3333333333
  </code></pre>
  
  <p>What I want to have as a result is the exact number <code>43</code> and if the total is <code>43.5</code> it should be rounded to <code>44</code></p>
  
  <p>Is there way to do this in JavaScript?</p>