We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c194b4a + a42ab41 commit 0ee66d1Copy full SHA for 0ee66d1
src/Jobs/DataTableExportJob.php
@@ -158,7 +158,7 @@ public function handle()
158
$format = $column->exportFormat ?? $defaultDateFormat;
159
break;
160
case $this->wantsNumeric($column):
161
- $cellValue = floatval($value);
+ $cellValue = ( trim($value) == '' || is_null($value) ) ? null : floatval($value);
162
$format = $column->exportFormat;
163
164
case CellTypeHelper::isDateTimeOrDateInterval($value):
0 commit comments