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
Зарегистрируйся сейчас
или Подпишись на будущие тесты