50) $anzahl_alt++; } $anteil_jung = $anzahl_jung / count($feld_datei) * 100; echo "Unterhalb von 25 Jahren: " . number_format($anteil_jung, 1, ",", ".") . "%
"; $anteil_alt = $anzahl_alt / count($feld_datei) * 100; echo "Oberhalb von 50 Jahren: " . number_format($anteil_alt, 1, ",", ".") . "%
"; ?>