Location: PHPKode > scripts > BowML > BowMathFunctions.inc.php
<?php

	function odd($pNumber) 
	{
   		return ($pNumber % 2 == 1);
	}

	/**
	* @return boolean
	* @param integer $pNumber
	* @desc Returns true if the passed integer is an even number
	*/
	function even($pNumber) 
	{
    	return ($pNumber % 2 == 0);
	}

?>
Return current item: BowML