title: I would like to remove the decimal point in javascript / jquery
body: <p>I would like to remove the decimal point in javascript / jquery</p>
  
  <p>my code:</p>
  
  <pre><code>var comp2 = 35.99 * 10003;
  var comp2gtotal;
  
  comp2gtotal = comp2;
  $(".comp2totaled").html( comp2gtotal );
  
  &lt;div class="comp2totaled"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The answer i get is <code>360007.97000000003</code></p>
  
  <p>What i need it to say is = <code>360007.97</code> or <code>360,007.97</code>
  without all the zeros ect at the end..</p>
  
  <p>thanks..</p>