Login   Register  
PHP Classes
elePHPant
Icontem

Class: Range Compare

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nathan  >  Range Compare  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Range Compare
Base name: rangecompare
Description: Compares two integer values
Related classes: , , ,
Version: -
PHP version: -
License: Freely Distributable
All time users: 360 users
All time rank: 5218
Week users: 0 users
Week rank: 2746
Picture of Nathan
Author: Nathan <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Canada Canada - PHP jobs in Canada
Age: ???
All time rank: 280672 in Canada Canada
Week rank: 2242 Up50 in Canada Canada Up


  Detailed description  
This class extracts a comparison value, a mid value (or static value), and a range value.

The class then returns -1 if the comparison value is less than the mid value + the range value but not greater than the mid value - the range value.

0 is return if the comparison value falls within the the mid value +/- the range value.

1 is returned if the comparison value is greater than the mid value + range.

 

  Groups  
Group folder image Math Math related classes. View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.rangeCompare.php Class Compare Values Within A Set Range

Download all files: rangecompare.tar.gz rangecompare.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.