Login   Register  
PHP Classes
elePHPant
Icontem

Class: Calc Hondt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alex Corretge  >  Calc Hondt  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Calc Hondt
Base name: hondt
Description: Calculate Hondt law coeficients
Related classes: , ,
Version: 1.0
PHP version: 5
License: BSD License
All time users: 163 users
All time rank: 6205
Week users: 0 users
Week rank: 2526
Picture of Alex Corretge
Author: Alex Corretge <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Spain Spain - PHP jobs in Spain
Age: 40
All time rank: 321083 in Spain Spain
Week rank: 2255 Up58 in Spain Spain Up


  Detailed description  
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.

 

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Good (91.7%)
-
Good (91.7%)
-
-
Not sure (60.0%)
814
Month:
Not yet rated by the users

  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 sample Example Sample to use Hondt Law Class
Plain text file hondt.php Class Hondt Law class

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