phpExcel write long number in cell

后端 未结 3 2015
渐次进展
渐次进展 2020-12-14 13:31

While writing the excel file is fine I see that really long numbers are formulas in excel

Example: 8.71129E+12

instead of: 1234567890

How can I chang

3条回答
  •  天命终不由人
    2020-12-14 13:45

    $objPHPExcel->getActiveSheet()->setCellValueExplicit('A1', '1234567890', PHPExcel_Cell_DataType::TYPE_STRING);
    

提交回复
热议问题