<html>
<body>
<h1>JavaScript Math</h1>
<h2>The Math.ceil() Method</h2>
<p>Math.ceil() rounds a number UP to the nearest integer:</p>
<p id="demo"></p>
<script>
let a = Math.ceil(0.60);
let b = Math.ceil(0.40);
let c = Math.ceil(5);
let d = Math.ceil(5.1);
let e = Math.ceil(-5.1);
let f = Math.ceil(-5.9);
document.getElementById("demo").innerHTML =
a + "<br>" + b + "<br>" + c + "<br>" + d + "<br>" + e + "<br>" + f;
</script>
</body>
</html>