Login   Register  
PHP Classes
elePHPant
Icontem

Range Compare

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Nathan
Name: Nathan <e-mail contact>
Packages: 1 Browse all classes by Nathan Browse all classes by
Country: Canada Canada - PHP jobs in Canada
Age: ???
All time rank: 304275 in Canada Canada
Week rank: 2173 Up48 in Canada Canada Up


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Nathan  >  Range Compare  >  Download .zip .tar.gz  >  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
Version: -
PHP version: -
License: Freely Distributable
All time users: 370 users
All time rank: 5704
Week users: 0 users
Week rank: 2043 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

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


  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.