diff --git a/include/statistik.class.php b/include/statistik.class.php index 3075250b5..eab9f930d 100644 --- a/include/statistik.class.php +++ b/include/statistik.class.php @@ -553,6 +553,12 @@ class statistik extends basis_db { $name = $this->db_field_name($this->data,$spalte); $this->html.= ''.$this->convert_html_chars($row->$name).''; + // Umwandeln von Punkt in Komma bei Float-Werten + if (is_numeric($row->$name)) + { + if (strpos($row->$name,'.') != false) + $row->$name = number_format($row->$name,2,",",""); + } $this->csv.= '"'.$row->$name.'",'; }