I have no idea how to do this? I\'m adding comma numbers, result is of course always a number with way too many digits after the comma. anyone?
use the below code.
alert(+(Math.round(number + "e+2") + "e-2"));