function roundUp(number) { return Math.ceil(number); } // Display the result (you can use a text element to show the result) document.getElementById("result").textContent = "Rounded up: " + roundedUp;
top of page
bottom of page