I have an excel export from mysql, which should display data from a column holding a value of 17 digits (a unique, numerical, reference). When using PHPExcel, everything but this reference displays fine.
I used :
$objPHPExcel->getActiveSheet()->getStyle('F'.$xlsRow)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_NUMBER);
which comes close, but...
When comparing values in the Excel sheet and the original data in the database, I see the last 2 digits of the reference are set to 00.
eg:
`20130829071002200` instead of `20130829071002210`
I tried setting other (numerical and non-numerical) formats in the setFormatCode and (PHPExcel_Style_NumberFormat:: ) but I either get ###### when using STRING format, the scientific notation (2,01308E+16) when using nothing or TEXT format or the output mentioned here-above (the last 2 digits being zeroes)
No idea what I'm doing wrong...
Any help would be appreciated.