Select a JavaScript method that round a number upward to it's nearest integer
Explanation
The Math.ceil() function returns the smallest integer greater than or equal to a given number. Example:

    console.log(Math.ceil(0.94)); // 1
    console.log(Math.ceil(2.94)); // 3
    console.log(Math.ceil(5.00)); //5

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback