Changeset 198 for trunk/client
- Timestamp:
- Apr 7, 2014, 8:50:11 PM (11 years ago)
- Location:
- trunk/client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/consiglieri.php
r194 r198 497 497 if ($premio) { 498 498 $sindaco[$gruppo]=$groups[$gruppo]; $groups[$gruppo]=0; 499 $gruppomag=calcoloseggi($sindaco, number_format($numcons*$suppremio/100),0);499 $gruppomag=calcoloseggi($sindaco,ceil($numcons*$suppremio/100),0); 500 500 #######calcola i seggi per lista 501 501 foreach ($gruppomag as $key=>$val){ … … 538 538 } 539 539 } 540 if ($premio) $consmin= number_format($numcons*(100-$suppremio)/100);540 if ($premio) $consmin=floor($numcons*(100-$suppremio)/100); 541 541 else $consmin=$numcons; 542 542 #foreach($groups as $keyb=>$valb) echo "keyb:$keyb -- valb:$valb<br/>"; -
trunk/client/versione.php
r197 r198 1 1 <?php 2 $versione="2.0 rev 19 7";2 $versione="2.0 rev 198"; 3 3 ?>
Note:
See TracChangeset
for help on using the changeset viewer.