英[flɔ:(r)] US[flɔr, flor]

n. Floor; ground, floor; bottom; council seat

vt. Flooring; defeat, knock down

Third person singular: floors Plural: floors Present participle: flooring Past tense: floored Past participle: floored

javascript floor() method syntax

Function:Round down a number.

Syntax:Math.floor(x)

Parameters:x Required. Any number or expression.

Return:The integer that is less than or equal to x and is closest to x.

Description:The floor() method performs rounding down calculation, and it returns the nearest integer that is less than or equal to the function parameter.

javascript floor() method example

    Title 

Run instance »

Click the "Run instance" button to view the online instance