x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
5
<p id="msg"></p>
6
<p>The <code>Math.ceil()</code> function returns the smallest integer greater than or equal to the provided number.</p>
7
8
<script>
9
  document.getElementById("msg").innerHTML = Math.ceil(53.478);
10
</script>