Calculates the floor of a number
The number to calculate the floor for.
The largest integer less than or equal to the given number.
floor(-4.6); // Returns -4 floor(10.5); // Returns 10 Copy
floor(-4.6); // Returns -4 floor(10.5); // Returns 10
Generated using TypeDoc
Calculates the floor of a number