Reading percentage values vecomes f% - example file

Topics: User Forum
Jun 6, 2011 at 2:04 PM

Example file:

Example code:
$objReader = PHPExcel_IOFactory::createReader('Excel2007');
$objPHPExcel = $objReader->load('test.xlsx');
$array = $objPHPExcel->setActiveSheetIndex(0)->toArray(null, true, true, true);
$excel = new PHPExcel();
$array = $excel->setActiveSheetIndex(0)->toArray();
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');

The percentage field will not be copied correctly and is replaced with f%, I am not able to solve this it seems. Anyone have some input? 

What does the file do?
Check this thread,