Calculadora Escons can be used to calculate the number of seats assigned to a party upon election results using the D'Hondt method. It takes as parameters the number of available seats and an associative array that relates each party with the votes they received.Calculadora Escons distributes the available seats using the D'Hondt method and returns an associative arrays that relates ...
Calc Hondt can be used to calculate the Hondt law coefficients. It takes the number of available seats and the votes each party got. Calc Hondt stores the number of seats each party was assigned in an associative array class variable.