About 101,000 results
Open links in new tab
  1. Math.ceil () - JavaScript | MDN

    Jul 10, 2025 · The Math.ceil() static method always rounds up and returns the smallest integer greater than or equal to a given number.

  2. JavaScript Math ceil () Method - W3Schools

    Description The Math.ceil() method rounds a number rounded UP to the nearest integer.

  3. How to get the ceil value after 2 decimal places using JavaScript

    Jun 18, 2019 · I want to achieve the following: suppose x = 321.31125 Now I want the ceil value after the 2nd decimal point ... so the expected result should be 321.32 Note: I know rounding …

  4. JavaScript Math ceil () - Programiz

    The JavaScript Math.ceil () method rounds a decimal number up to the next largest integer. In this tutorial, you will learn about the ceil () method with the help of examples.

  5. JavaScript Math.ceil ( ) function - GeeksforGeeks

    Sep 9, 2024 · The JavaScript Math.ceil () function rounds a given number up to the nearest integer. It always rounds towards positive infinity, meaning it increases the number to the next …

  6. JavaScript Math ceil () Method: Rounding Up - CodeLucky

    Feb 1, 2025 · Learn how to use the JavaScript Math.ceil () method to round a number up to the nearest integer. This guide provides a detailed explanation with examples.

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

    The JavaScript Math.ceil () method accepts a numeric value as a parameter and rounds it UP to the smallest integer greater than or equal to that number. For instance, if we pass a numeric …

  8. JavaScript: Math ceil () function - TechOnTheNet

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

  9. Applying Math.ceil () for Ceilings in Array Indexing with JavaScript ...

    Dec 12, 2024 · The Math.ceil() function in JavaScript forms a part of the Math object and is widely used in situations where rounding up is necessary. Let's explore how Math.ceil() can be …

  10. JavaScript Math.ceil () Method: Rounding Numbers Up

    The Math.ceil () method is a built - in function in JavaScript’s Math object. It takes a single number as an argument and returns the smallest integer value greater than or equal to the given number.