diff --git a/index.js b/index.js index e9596f9..e2368ea 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ function isEven(number) { if (number === "even" || number === "Even" || number === "eVen" || number === "evEn" || number === "eveN" || number === "EVen" || number === "EvEn" || number === "EveN" || number === "eVEn" || number === "eVeN" || number == "evEN" || number === "eVEN" || number === "EvEN" || number === "EVeN" || number === "EVEn" || number === "EVEN") return true; else if(number === 0 || number === "0" || number === "zero" || number === "Zero" || number === "ZERO") return true; + else if (number === 0.0 || number === "0.0" || number === "zero point zero" || number === "Zero point Zero" || number === "ZERO point ZERO") return true; else if(number === 1 || number === "1" || number === "one" || number === "One" || number === "ONE") return false; else if(number === 2 || number === "2" || number === "two" || number === "Two" || number === "TWO") return true; else if(number === 3 || number === "3" || number === "three" || number === "Three" || number === "THREE") return false;