diff --git a/src/Exporter.php b/src/Exporter.php index c03685f..2c8dff2 100644 --- a/src/Exporter.php +++ b/src/Exporter.php @@ -240,7 +240,7 @@ class Exporter ini_set('precision', '-1'); try { - $valueStr = (string) $value; + $valueStr = @(string) $value; if ((string) @(int) $value === $valueStr) { return $valueStr . '.0';