Halo, I've using PHPExcel for getting data from uploaded Excel file.
But I've an issue according to reading data from Excel as an array result, the file contain an data in decimal type (with 1 decimal place), but the PHPExcel read the data as a decimal with more than one decimal places.
Example:
This is my Excel file
and this is the result
I need the data in the array has decimal length same with the excel decimal length, because I wanna use it for sum.
This is my code:
` $objPHPExcel = new \PHPExcel();
Halo, I've using PHPExcel for getting data from uploaded Excel file. But I've an issue according to reading data from Excel as an array result, the file contain an data in decimal type (with 1 decimal place), but the PHPExcel read the data as a decimal with more than one decimal places.
Example: This is my Excel file
and this is the result
I need the data in the array has decimal length same with the excel decimal length, because I wanna use it for sum.
This is my code: ` $objPHPExcel = new \PHPExcel();
How do I can get decimal data from Excel with same decimal length?
Thanks.