代码示例:(标识:vbst_round)
<html>
<body>

<script type="text/vbscript">
i = 48.66776677
j = 48.3333333
document.write(Round(i))
document.write("<br />")
document.write(Round(j))
</script>

</body>
</html>
运行结果: