Login   Register  
PHP Classes
elePHPant
Icontem

File: BowMathFunctions.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jonas Eriksson  >  BowML  >  BowMathFunctions.inc.php  >  Download  
File: BowMathFunctions.inc.php
Role: Auxiliary script
Content type: text/plain
Description: Mathematical functions. (Nothing impressive yet)
Class: BowML
Parse and create HTML or other markup documents
Author: By
Last change:
Date: 2004-07-29 09:59
Size: 276 bytes
 

Contents

Class file image Download
<?php

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

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

?>