I have this line of code which rounds my numbers to two decimal places. But I get numbers like this: 10.8, 2.4, etc. These are not my idea of two decimal places so how I can
(Math.round((10.2)*100)/100).toFixed(2)
That should yield: 10.20
10.20
(Math.round((.05)*100)/100).toFixed(2)
That should yield: 0.05
0.05
(Math.round((4.04)*100)/100).toFixed(2)
That should yield: 4.04
4.04
etc.