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?
ex.: Result of math operation: 5.223567 I want: 5.22
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.