PHPEXCEL导出excel表格中长数字文本自动转为科学计数法的解决办法
方法一:前面加空格
$objActSheet->setCellValue('A1', ' '.'330602198804224688');
方法二:
$objActSheet->setCellValueExplicit('A1', '330602198804224688', PHPExcel_Cell_DataType::TYPE_STRING);
方法三:
$objActSheet->setCellValue('A1', '330602198804224688'); $objActSheet->getStyle('A1')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_NUMBER);
转 : https://blog.csdn.net/qq_34627459/article/details/79196155
参考 : https://www.cnblogs.com/huangcong/p/3687665.html