Number 8 only accepts specific numbers


On lesson number eight i had originally wrote:

// Define quarter here.
var quarter = function(number) {
    return number/4;

if (quarter(15) % 3 === 0 ) {
  console.log("The statement is true");
} else {
  console.log("The statement is false");

which should be correct, according to this modulo calculator I have been using to double check my answers (because modulo throw me for a loop) 15 should have worked 15 % 3 since it results in 0 causing the statement to be true.

However the lesson seems to require the use of 12 as the value for quarter. This caused me to bang my head against my desk for about 20 minutes looking for syntax errors that didn't exist. I am wondering why the necessity for the specific number in the lesson and I have tried multiple numbers who also result in 0 and none work.

Or am I possibly missing something else.


You are quartering 15, which is the whole point. 3.75-ish % 3 is not true.