PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2008-02-22 (8 years ago) RSS 2.0 feedStarStarStarStar 62%Total: 193 All time: 7,876 This week: 935Up
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.

Picture of Alex Corretge
Name: Alex Corretge <contact>
Classes: 1 package by
Country: Spain Spain

  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:193
This week:0
All time:7,876
This week:935Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:935