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

'floor()' Example

    
<html>
<body>
<button onclick="alert(Math.floor(1.1));">FLOOR</button>
</body>
</html>

    
      
      

Related examples in the same category

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