|
|
| Name: |
Calc Hondt |
| Base name: |
hondt |
| Description: |
Calculate Hondt law coeficients |
| Related classes: |
voting, calc, votes |
| Version: |
1.0 |
| PHP version: |
5 |
| License: |
BSD License |
| All time users: |
167 users |
| All time rank: |
6346 |
| Week users: |
1 user |
| Week rank: |
2419 |
| |
|
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.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (83.3%) |
Good (91.7%) |
- |
Good (91.7%) |
- |
- |
Not sure (60.0%) |
823 |
| Month: |
Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|
| File |
Role |
Description |
sample |
Example |
Sample to use Hondt Law Class |
hondt.php |
Class |
Hondt Law class |