About 1,030 results
Open links in new tab
  1. Math.floor () - JavaScript | MDN

    Jul 10, 2025 · The Math.floor() static method always rounds down and returns the largest integer less than or equal to a given number.

  2. Floor and ceiling functions - Wikipedia

    In mathematics, the floor function is the function that takes as input a real number x, and gives as output the greatest integer less than or equal to x, denoted ⌊x⌋ or floor (x).

  3. JavaScript Math floor () Method - W3Schools

    Math.floor() is an ECMAScript1 (JavaScript 1997) feature. It is supported in all browsers: Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, …

  4. JavaScript Math floor () Method - GeeksforGeeks

    Nov 7, 2024 · The Math.floor () method in JavaScript is used to round off a number down to the nearest integer, moving towards the lower value. This function is useful when you want to ensure that the …

  5. Math.ceil, Math.floor, and Math.round in JavaScript - Educative

    While the Math.ceil method returns the smallest integer greater than or equal to the value we pass, Math.floor returns the largest or equal integer that is less than the given value.

  6. JavaScript: Math floor () function - TechOnTheNet

    This JavaScript tutorial explains how to use the math function called floor () with syntax and examples. In JavaScript, floor () is a function that is used to return the largest integer value that is less than or …

  7. JavaScript Math.floor () Method - Online Tutorials Library

    The Math.floor () method in JavaScript accepts a numeric value as an argument, rounds down and returns the largest integer less than or equal to the provided number.

  8. JavaScript Math floor () - Programiz

    Math.floor () Return Value Returns the largest integer less than or equal to a given number. Returns 0 for null.

  9. JavaScript Math.floor () Method: A Comprehensive Guide

    This blog post will dive deep into the `Math.floor ()` method, exploring its fundamental concepts, usage, common practices, and best practices.

  10. Math.floor - JavaScript Documentation - TypeError

    Because floor() is a static method of Math, you always use it as Math.floor(), rather than as a method of a Math object you created (Math is not a constructor).