var i = 0.0000000015220700152207;
var num = document.getElementById('number');
function start() {
setInterval(increase, 1000);
}
function increase() {
if (i < 0.0048) {
i+= 0.0000000000000000000001;
var decimal =parseFloat(i);
num.innerText = decimal;
}
}
<body onload="setTimeout(start,5000) ; setTimeout(end,3000) ">
<div id="number">0.0000000015220700152207</div>
</body>
this function returns number in scientific notation "1.5220700153457109e-9" i want to convert it to decimal type. but nothings finds to b fruitfull. plz suggest me some thing which guides me to the right. i will be thankful to you