title: JS limit the number of decimal places in a number
body: <p>I have a js that grabs values, multiplies, sums, divides, and then puts them in a cell of a table. The result can be up to (I think) 15 decimal places. How do I limit it to two?</p>
  
  <p>ex.:
  Result of math operation: 5.223567
  I want: 5.22</p>
  
  <p>I want to truncate or round the remaining decimal places. I am open to solutions that requires resources outside of js but would prefer a js solution if one exists. </p>