diff --git a/src/PhpSpreadsheet/Reader/Xlsx.php b/src/PhpSpreadsheet/Reader/Xlsx.php index cbf3fedc..30706bac 100644 --- a/src/PhpSpreadsheet/Reader/Xlsx.php +++ b/src/PhpSpreadsheet/Reader/Xlsx.php @@ -980,8 +980,6 @@ class Xlsx extends BaseReader $value = (int) $value; } elseif ($value == (float) $value) { $value = (float) $value; - } elseif ($value == (float) $value) { - $value = (float) $value; } }