Changeset 62 for trunk/admin/modules/Elezioni/controllo_votanti.php
- Timestamp:
- Mar 28, 2010, 8:45:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/controllo_votanti.php
r23 r62 95 95 { 96 96 $tot[$data.$ora]="\n<table width=\"100%\"><tr align=\"center\"><td width=\"30%\"><b>".number_format($votiu,0,',','.')."</b></td><td width=\"30%\"><b>".number_format($votid,0,',','.')."</b></td><td><b>".number_format($somma,0,',','.')."</b></td></tr></table>\n"; 97 $perc_u=number_format($votiu*100/$tot_u,2);98 $perc_d=number_format($votid*100/$tot_d,2);97 if($tot_u) $perc_u=number_format($votiu*100/$tot_u,2); 98 if($tot_d) $perc_d=number_format($votid*100/$tot_d,2); 99 99 $perc_c=number_format($somma*100/$tot_compl,2); 100 100 }
Note:
See TracChangeset
for help on using the changeset viewer.