title: Javascript Table & Number Format
body: <p>I have a simple table. I am looking to modify the number format of my 2nd last td element (where I fetch "SumPrices" to a currency rounded to the dollar. I can't seem to figure out the syntax. </p>
  
  <pre><code>&lt;table border="1" cellpadding="2" style="width: 25%;"&gt;
    &lt;tbody&gt; 
       &lt;tr&gt; 
          &lt;th scope="col"&gt; Fiscal &lt;/th&gt; 
          &lt;th scope="col"&gt; Courses &lt;/th&gt; 
          &lt;th scope="col"&gt; Cost &lt;/th&gt; 
          &lt;th scope="col"&gt; Comment &lt;/th&gt; 
       &lt;/tr&gt; 
       &lt;tr&gt; 
          &lt;td align="center"&gt; 2019-20&lt;/td&gt;
          &lt;td align="center" id="Icount"&gt;252&lt;/td&gt;
          &lt;td align="center" id="SumPrices"&gt;323662&lt;/td&gt;
          &lt;td align="center"&gt; Something &lt;/td&gt;
       &lt;/tr&gt;
    &lt;/tbody&gt; 
  &lt;/table&gt; 
  </code></pre>