Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if a number is odd in php

function odd($var)
{
    
    return($var & 1);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #number #odd #php
ADD COMMENT
Topic
Name
1+5 =