Average codes
Page 1 of 1
Average codes
- Code:
<!-- This Script is from www.freecodescript.com, Coded by: Krishna Eydatoula, Mahmood Bina-->
+8
function average($numbers) \{
$a = split(' ', $numbers);
foreach ($a as $b) \{ $c = $c + $b; $d++; \}
return number_format($c/$d,0);
\}
<br><font face='Tahoma'><a target='_blank' href='http://www.freecodescript.com/'><span style='font-size: 8pt; text-decoration: none'>Free Code Script</span></a></font>
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum