Thanks Mark, but I tried both setCellValueExplicit() and setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_TEXT), and still the value shows up in exponential form when I open the sheet. Might there be another reason behind that, like locale or other display settings in Excel?
↧