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: 11 years ago
Size: 276 bytes
 

Contents

Class file image Download
<?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);
    }

?>