'round()' Example : round « Javascript Methods « JavaScript Reference

'round()' Example

    
<html>
<body>
<button onclick="alert(Math.round(1.33));">ROUND</button>
</body>
</html>

    
      
      

Related examples in the same category

1.'round()' Syntax, Parameters and Note
2.'round()' is applied to