Calc Hondt: Calculate Hondt law coeficients

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 203 All time: 8,256 This week: 370Up
Version License PHP version Categories
hondt 1.0BSD License5Algorithms, PHP 5
Description Author

This class can be used to calculate the Hondt law coeficients.

It takes the number of available seats and the votes each party got.

The class stores the number of seats each party was assigned in an associative array class variable.

The code and the comments are in Catalan.

Name: Alex Corretge <contact>
Classes: 1 package by
Country: Spain Spain
Age: 49
All time rank: 4026107 in Spain Spain
Week rank: 670 Up20 in Spain Spain Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file sample Example Sample to use Hondt Law Class
Plain text file hondt.php Class Hondt Law class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:203
This week:0
All time:8,256
This week:370Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:1099
  

For more information send a message to info at phpclasses dot org.