I am trying to round a number to 2 decemals and it is giving me integers!
var 4 = 10.99 + 89.78899999
total = number(a) + number(b);
Here is what I currently have:
Math.round(total, 2); // this gives me 101 I need it to show 100.78
What is the trick to do this?