Check if Number is Even/Odd

Submitted by:Jhon Smith

Date added:07 February, 2011

Category:JavaScript

Check if Number is Even/Odd

Tags: javascript snippet , find even , find odd

Code Snippet:

function isEven(value) {
if (value%2 == 0)
return true;
else
return false;
}
 
 

Comments