Return to Snippet

Revision: 22516
at January 14, 2010 01:42 by giak


Initial Code
// INT : odd or even > return TRUE or FALSE
function neo_is_odd( $nb ) {
	return $nb % 2 == 0 ? false:true;
}

Initial URL
http://www.giacomel.fr

Initial Description

                                

Initial Title
PHP : INT  is odd or even

Initial Tags

                                

Initial Language
PHP