floor

floor ( number number ) : number

Returns the next lowest integer value by rounding up

Example


console(ceil(1.2)) // -> 1


See also

ceil
roundAt

Parameters

number

The number to round.