My answer was most likely correct


#1

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.

It wouldn’t work for me and my answer was most likely correct.

console.log(Math.ceil(43.8)


#2

Please post a link to the exercise when starting a question topic. Thanks.

What error message are you getting?


#3

It ended up being a glitch. I’ve been getting a lot of those recently so I just had to reload the entire site.

but thank you for trying.


#4

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