The Math.ceil() function returns the smallest integer greater than or equal to a given number. Math.ceil(.95); // 1 Math.ceil(4); // 4 Math.ceil(7.004); // 8
The Math.floor() function returns the largest integer less than or equal to a given number. Math.floor( 45.95); // 45 Math.floor(-45.95); // -46
The Math.round() function returns the value of a number rounded to the nearest integer.