floor(x);
floor is a function that takes in a number, and returns the greatest integer less or equal to x.
Arguments
x
The value to floorReturns
int
greatest integer less than or equals to xfloor(x);
floor is a function that takes in a number, and returns the greatest integer less or equal to x.
x
The value to floorint
greatest integer less than or equals to x