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.
1 parent 7530ce4 commit a42ab41Copy full SHA for a42ab41
src/Jobs/DataTableExportJob.php
@@ -160,7 +160,7 @@ public function handle()
160
$format = $column->exportFormat ?? $defaultDateFormat;
161
break;
162
case $this->wantsNumeric($column):
163
- $cellValue = floatval($value);
+ $cellValue = ( trim($value) == '' || is_null($value) ) ? null : floatval($value);
164
$format = $column->exportFormat;
165
166
case CellTypeHelper::isDateTimeOrDateInterval($value):
0 commit comments