Try to use:
function roundNumber(num){
var result = Math.round(num);
return result;
}
alert(roundNumber(5334.5));
1
solved Javascript round function does not work
Try to use:
function roundNumber(num){
var result = Math.round(num);
return result;
}
alert(roundNumber(5334.5));
1
solved Javascript round function does not work