Wrong definition given for Math.floor() function in JavaScript exercise

I am working in JavaScript section. I am on the following exercise. And here is the snapshot of the Math.floor() function definition given here.

And I think this is incorrect definition of this function. Here is the correct definition from the documentation site. The Math.floor() function returns the largest integer less than or equal to a given number. Please modify this exercise.

They are saying same thing; they are just worded differently.


I see that now. Thanks.

1 Like

You’re welcome! Happy coding!

1 Like