document.write("round(3.49): " + Math.round(3.49) + "
"); document.write("round(3.5): " + Math.round(3.5) + "
"); document.write("round(3.51): " + Math.round(3.51) + "
");