I'd like to get numbers as the real value while importing a file, e.g:
When I open the csv, cell value: 198610012009011005
But when I import that using Laravel Excel, it'll be formatted to 1.98610012009011E+17
How can I get the real value of the number (198610012009011005) ? I tried bellow code but it didn't work
$data['excel'] = Excel::load($path, function ($reader) {
$reader->sheet(0, function ($sheet) {
$sheet->setColumnFormat(["A" => "@"]);
});
})->toArray();