'floor()' Syntax, Parameters and Note : floor « Javascript Methods « JavaScript Reference

'floor()' Syntax, Parameters and Note

Note:

Rounds the number down to the nearest integer.
    
Syntax:
    
Math.floor(param1)

Parameters:
    param1   Required; the number to convert.

    

      
      








Related examples in the same category

1.'floor()' Example
2.'floor()' is applied to