Valor redondo JavaScript

// Will round innerHTML value to 2

document.getElementById("myId").innerHTML = Math.ceil(1.1);
ayaan