New Post: 13 digit numbers get rounded in Excel 5 format
32-bit or 64-bit versions? Is this really an integer number, or a float or is it a string? That value exceeds the limits of 32-bit Excel for integers, so it should be maintained as a string in the xls...
View ArticleNew Post: ROUND Function getCalculatedValue() error
All I can suggest is that you apply a formatting mask to the cell: this looks to be a case of floating point accuracy when trying to represent decimal numbers in binary
View ArticleNew Post: ROUND Function getCalculatedValue() error
Hi Mark Thank you for your response. I have tried...
View ArticleNew Post: ROUND Function getCalculatedValue() error
You'll need to use getFormattedValue() rather than getCalculatedValue() if you're using a format mask; and this will return a PHP string: it's the equivalent of number_format() in PHP. Note that...
View ArticleNew Post: 13 digit numbers get rounded in Excel 5 format
i'm using a 64 bits version of windows 7 with php 5.3. the column is in "general" format, is there a way phpexcel can handle this values? i tried using an import programe made in fox and used the exact...
View ArticleNew Post: ROUND Function getCalculatedValue() error
Thanks Mark. With your change I have been able to override the formatting of the round result. Unfortunately, I am not able to apply that solution to my site at the moment as I do not wish to force any...
View ArticleNew Post: Line Chart : another y axis
I am also looking this functionality too. Please let us know when this is possible.
View ArticleNew Post: 13 digit numbers get rounded in Excel 5 format
Unless you have a 64-bit version of PHP, it can't handle 64-bit integer values, so PHPExcel can't either: if you're running 64-bit PHP, then it shouldn't be an issue
View ArticleNew Post: When using PHPExcel, why is the autosize stretching my image?
I am creating a spreadsheet using the PHPExcel Class. I have several columns of data. I am using the autosize method in order to have them take the size of the longest data value in each column.//...
View ArticleNew Post: When using PHPExcel, why is the autosize stretching my image?
Try adding $objDrawing->setResizeProportional(false);
View ArticleNew Post: Avoiding memory exhaustion writing to xlsx file
Hello, PHP 5.4 PHPExcel 1.7.8 FreeBSD 9 i386 I need to dump a MySQL database into an xlsx file and I'm hitting memory limits. I'm hitting vm.kmem_size_max, 512M I think, which requires a reboot to...
View ArticleNew Post: Avoiding memory exhaustion writing to xlsx file
Ugh, false alarm. I found a latter memory_limit setting buried in another script. Raising that made the error go away. Sorry!
View ArticleNew Post: PhpExcel stops working after setting 20 cell types
I have a script that generates a little xls table (~25x15). It contains percentages and strings and i have an if operator that sets the current cell as percentage type with this code:...
View ArticleNew Post: PhpExcel stops working after setting 20 cell types
As PHPExcel doesn't impose any limit on the number of styles (though Excel itself does, it's well above 20), and a number of our demo scripts in the /Examples folder use more than 20 different styles,...
View ArticleNew Post: Problem Graph doesn't display
Hello, I try to display a pie graph in my excel sheet, I take the code example because I didn't find documentation about this, all sheet work well but not the graph, I put the code below can help me...
View ArticleNew Post: Problem Graph doesn't display
When saving, are you using $objWriter->setIncludeCharts(TRUE);and using the Excel2007b Writer?
View ArticleNew Post: PhpExcel stops working after setting 20 cell types
I managed to extract only the functionality that handles exports and pass it sample data. Here is a sample code http://pastebin.com/wjWuX8J0 . When i uncomment cell-border settings export breaks, if i...
View ArticleNew Post: 13 digit numbers get rounded in Excel 5 format
is there a way we can tell phpexcel to force read as string even when the excel value is integer?
View Article