This commit is contained in:
Walter Hupfeld
2023-10-13 11:01:50 +02:00
parent fbcafb1d23
commit 079c0b53ff
4 changed files with 6 additions and 6 deletions

View File

@@ -48,7 +48,7 @@
<div class="container" style="margin-top:4em;">
<h1>Fahrradunfälle in <?=$strName?></h2>
<p>Einwohnerzahl: <?=$numPopulation?>&nbsp;&nbsp; Fläche: <?=$numFlaeche?> km<sup>2</sup></p>
<p>Einwohnerzahl: <?=number_format($numPopulation,0,",",".")?>&nbsp;&nbsp; Fläche: <?=number_format($numFlaeche,2,",",".")?> km<sup>2</sup></p>
<!-- Unfallverlauf -->
<div class="row">
@@ -84,7 +84,7 @@
</table>
<table class="table table-sm">
<tr><th>Quote pro Tausend Einwohner</th><td><?= round($numGesamt/$numPopulation*1000,2) ?></td></tr>
<tr><th>Quote pro Fläche</th><td><?= round($numGesamt/$numFlaeche,1) ?> /km<sup>2</sup></td></tr>
<tr><th>Quote pro Fläche</th><td><?= number_format($numGesamt/$numFlaeche,2,",",".") ?> /km<sup>2</sup></td></tr>
</table>
</div>
<div class="col-7">