Prices->Area[1]->Hour as $prices) { settype($prices, "float"); $prices_kWh = $prices / 10.0; $prices_format = number_format($prices_kWh, 3,',','.'); echo $x++."-".$y++." Uhrzeit: $prices_format ct/kWh
"; } ?>