Math Round: round a number to the nearest whole number : Math « Development « JavaScript DHTML
- JavaScript DHTML
- Development
- Math
Math Round: round a number to the nearest whole number
<html>
<body>
<script type="text/javascript">
document.write(Math.round(7.25))
</script>
</body>
</html>
Related examples in the same category