JavaScript math floor() method

The JavaScript math floor() method is used to get the largest integer value, either lower than or equal to a number. Syntax:


Parameters n: It represents the number.

Returns The largest integer value will be either lower than or equal to the specified number.


<!DOCTYPE html>
Please follow and like us:
Content Protection by