Use rational numbers/more decimal places in presets
Previous settings introduced rounding error in transfer values leading to incorrect results in some circumstances
This commit is contained in:
parent
3ea1eef7c5
commit
12635decec
@ -471,8 +471,7 @@ function changePreset() {
|
|||||||
document.getElementById('chkBulkElection').checked = true;
|
document.getElementById('chkBulkElection').checked = true;
|
||||||
document.getElementById('chkBulkExclusion').checked = true;
|
document.getElementById('chkBulkExclusion').checked = true;
|
||||||
document.getElementById('chkDeferSurpluses').checked = false;
|
document.getElementById('chkDeferSurpluses').checked = false;
|
||||||
document.getElementById('selNumbers').value = 'fixed';
|
document.getElementById('selNumbers').value = 'rational';
|
||||||
document.getElementById('txtDP').value = '5';
|
|
||||||
document.getElementById('txtPPDP').value = '0';
|
document.getElementById('txtPPDP').value = '0';
|
||||||
document.getElementById('chkNormaliseBallots').checked = false;
|
document.getElementById('chkNormaliseBallots').checked = false;
|
||||||
document.getElementById('chkRoundQuota').checked = true;
|
document.getElementById('chkRoundQuota').checked = true;
|
||||||
@ -494,8 +493,7 @@ function changePreset() {
|
|||||||
document.getElementById('chkBulkElection').checked = true;
|
document.getElementById('chkBulkElection').checked = true;
|
||||||
document.getElementById('chkBulkExclusion').checked = false;
|
document.getElementById('chkBulkExclusion').checked = false;
|
||||||
document.getElementById('chkDeferSurpluses').checked = false;
|
document.getElementById('chkDeferSurpluses').checked = false;
|
||||||
document.getElementById('selNumbers').value = 'fixed';
|
document.getElementById('selNumbers').value = 'rational';
|
||||||
document.getElementById('txtDP').value = '5';
|
|
||||||
document.getElementById('txtPPDP').value = '0';
|
document.getElementById('txtPPDP').value = '0';
|
||||||
document.getElementById('chkNormaliseBallots').checked = false;
|
document.getElementById('chkNormaliseBallots').checked = false;
|
||||||
document.getElementById('chkRoundQuota').checked = true;
|
document.getElementById('chkRoundQuota').checked = true;
|
||||||
@ -540,7 +538,7 @@ function changePreset() {
|
|||||||
document.getElementById('chkBulkExclusion').checked = false;
|
document.getElementById('chkBulkExclusion').checked = false;
|
||||||
document.getElementById('chkDeferSurpluses').checked = true;
|
document.getElementById('chkDeferSurpluses').checked = true;
|
||||||
document.getElementById('selNumbers').value = 'fixed';
|
document.getElementById('selNumbers').value = 'fixed';
|
||||||
document.getElementById('txtDP').value = '5';
|
document.getElementById('txtDP').value = '6';
|
||||||
document.getElementById('txtPPDP').value = '3';
|
document.getElementById('txtPPDP').value = '3';
|
||||||
document.getElementById('chkNormaliseBallots').checked = false;
|
document.getElementById('chkNormaliseBallots').checked = false;
|
||||||
document.getElementById('chkRoundQuota').checked = true;
|
document.getElementById('chkRoundQuota').checked = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user