You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating my rows using an array and then returning return collect($rows);
When I set a cell value to 0 and export the .xls or .xlsx file, the cells where the zero was set are empty. This is causing an issue with my calculations
Some pseudo-code for how I am adding the rows $rows[] = [ 'A1' => 0 'A2' => 0 ]; return collect($rows);
However, when I open the file, those values are blank instead of 0. Is there any way to include an actual zero instead of a blank cell?
Versions
Description
I am creating my rows using an array and then returning
return collect($rows);
When I set a cell value to
0
and export the .xls or .xlsx file, the cells where the zero was set are empty. This is causing an issue with my calculationsSome pseudo-code for how I am adding the rows
$rows[] = [ 'A1' => 0 'A2' => 0 ]; return collect($rows);
However, when I open the file, those values are blank instead of 0. Is there any way to include an actual zero instead of a blank cell?
Additional Information
Related Issues:
#1566 (2.1)
#135 (1.0)
The text was updated successfully, but these errors were encountered: