Revision: 35073
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 2, 2010 03:16 by leond
Initial Code
function is_odd( $num ){
return(is_numeric($num)&($num&1));
}
Initial URL
Initial Description
Checks if a integer or string variable contains odd number. Returns true on odd and false on even.
Initial Title
Check if int or string variable is odd
Initial Tags
Initial Language
PHP