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

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести