Open GoogleCodeExporter opened 9 years ago
I have the same problem, help please
Original comment by compserv...@gmail.com
on 14 Jul 2011 at 2:40
unfortunately, i never figured out how to solve this issue. i'm now using
http://phpexcel.codeplex.com/
hope that helps.
Original comment by danielas...@gmail.com
on 14 Jul 2011 at 5:02
Solution:
1. Load the file with formatting ON. ($inventory = new
Spreadsheet_Excel_Reader('inventory.xls', true);)
2. Retrieve value with raw() instead of val(). raw() is what you see on-screen.
3. Number format to force the display of 2 decimals (7.5 => 7.50)
$inventory = new Spreadsheet_Excel_Reader('inventory.xls', true);
echo number_format($inventory->raw(3, 10), 2);
Original comment by endar...@gmail.com
on 17 Jul 2011 at 11:17
Original issue reported on code.google.com by
danielas...@gmail.com
on 20 Apr 2011 at 6:24Attachments: