<!DOCTYPE html>
<title>My Example</title>
<p id="msg"></p>
<p>The <code>Math.round()</code> function returns the value of the given number rounded to the nearest integer.</p>
<script>
document.getElementById("msg").innerHTML = Math.round(53.478);
</script>