Login   Register  
PHP Classes
elePHPant
Icontem

Range Compare: Compares two integer values

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-06-17 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 374 All time: 6,108 This week: 1,476Up
Version License Categories  
rangecompare 1.0Freely DistributableMath
Description Author  

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.

Picture of Nathan
Name: Nathan <contact>
Classes: 1 package by
Country: Canada Canada
Age: ???
All time rank: 323377 in Canada Canada
Week rank: 1568 Up36 in Canada Canada Up

  Files folder image Files  
File Role Description
Plain text file class.rangeCompare.php Class Compare Values Within A Set Range

 Version Control Unique User Downloads Download Rankings  
 0%Total:374All time:6,108
 This week:0This week:1,476Up