budimir Posted September 13, 2008 Share Posted September 13, 2008 Hey guys, Can you tell me why this won't work when I enter decimal numbers? <script type="text/javascript"> <!-- Begin function startCalc5(){ interval = setInterval("calc5()",1); } function calc5(){ one = document.autoSumForm1.dnev.value; two = document.autoSumForm1.tecaj.value; document.autoSumForm1.iznos_dnevnice_kn.value = (one * 1) * (two * 1); } function stopCalc5(){ clearInterval(interval); } // End --> </script> Link to comment https://forums.phpfreaks.com/topic/124050-solved-help-with-decimal-numbers/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.