-----Ursprungligt meddelande----- Fran: Eric Mol [mailto:eric.mol@xxxxxx] Skickat: den 2 juni 2006 15:34 Till: 'Jonas Rosling'; 'PHP List' Amne: RE: If value is odd or not If ($var/2==round($var/2)){ // not odd }else{ // odd } Greetings, Eric Thanks (all)! -----Oorspronkelijk bericht----- Van: Jonas Rosling [mailto:webmaster@xxxxxxxxxxxx] Verzonden: vrijdag 2 juni 2006 15:32 Aan: PHP List Onderwerp: If value is odd or not Hi all, is there any easy why to check if a value is odd or not? Thanks // Jonas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php