PHP Classes

parameters

Recommend this page to a friend!

      Calc Hondt  >  All threads  >  parameters  >  (Un) Subscribe thread alerts  
Subject:parameters
Summary:only a single parameter?
Messages:2
Author:Josep Comajuncosas
Date:2008-02-25 10:07:55
Update:2008-02-25 15:54:36
 

 


  1. parameters   Reply   Report abuse  
Picture of Josep Comajuncosas Josep Comajuncosas - 2008-02-25 10:07:55
Moltes grācies, sembla molt útil i senzill d'usar.
Sols requereix un parāmetre? creia que hi havia més variabilitat en els cālculs amb la llei d'Hondt.

Thank you very much, it looks really useful and easy to use.
Does it only require a single parameter? I thought there was a broader variability in Hondt law calculations.

Josep M

  2. Re: parameters   Reply   Report abuse  
Picture of Alex Corretge Alex Corretge - 2008-02-25 15:54:36 - In reply to message 1 from Josep Comajuncosas
You need two parāmeters:

- the number of seats
- the associative array Array('party' => votes);


Atentament / Kind Regards

Ālex Corretgé
Serveis Informātics Corretgé.com SLU
corretge.cat/