Table of contents Home page
Execute this code
var r = prompt("Which number do you want to round down to the nearest integer?") if (r != null && !isNaN(r)) { alert("The rounded value is " + Math.floor(r)) }