JavaScript Treehouse Club - MASH MASH - JavaScript Important Stuff - Part 3

math.ceil will round to the ________alway? I have replayed many times, can't find any answer. (up to nearest integer)

I am stuck please provide answer where in video was information. I have discovered that it should be (up to nearest integer) but that answer won't work either...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Help!...Hel

1 Answer

Haider Ali
PRO
Haider Ali
Pro Student 17,068 Points

Hi there, math.ceil rounds numbers UP to the nearest integer unlike math.floor which rounds numbers down.

The answer would be up.

Thanks,

Haider