Method that returns the smallest integer greater than or equal to a decimal number

<Hello guys i need a method that  the smallest integer greater than or equal to a decimal number.>

<Many thanks>


And what are you expectation on this matter? What do you expect of us?

We can assist you in building this function, that is possible

2 Likes

Hi, I was trying to solve one of the task https://www.codecademy.com/courses/learn-javascript-introduction/lessons/introduction-to-javascript/exercises/libraries?action=lesson_resume&course_redirect=introduction-to-javascript but got hooked and will appreciate if i can get the right code to use.
This is the question"Find a method in the JavaScript math library that returns the smallest integer greater than or equal to a decimal number.

Use this method with the number 43.8. Log the answer to the console."

The guidelines says we do not tolerate cheating (giving out code), i happily help you with the code you have and work towards a solution and helping you with the things you don’t understand

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.