Changeset 73 for trunk/client/modules/Elezioni/funzioni.php
- Timestamp:
- Apr 2, 2010, 3:30:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/funzioni.php
r70 r73 428 428 $temp2tot=0;$temp2=array(); 429 429 while (list($key,$voti)= each($temp)) { 430 $temp2[$key]=(ceil($voti*1000/$sevaltot)-($voti*1000/$sevaltot)); 430 if($voti) 431 $temp2[$key]=(ceil($voti*10000/$sevaltot)-($voti*10000/$sevaltot)); 431 432 $valperc=number_format($voti*100/$sevaltot,2); 432 433 $temp3[$key]=$valperc;
Note:
See TracChangeset
for help on using the changeset viewer.