Hello John,
I am facing the same issue and don't think after reading this thread i got the answer to the issue.
$worksheet->write ('A1', 12345);
$worksheet->write ('A2', 1,2345.67);
The second statement writes the value as a string in excel rather a formatted number. ie in Excel the value in A2 is stored as text and hence no mathematical operation can be performed on this value.
Any suggestions?
Since I am writing the values from a file - i don't know before hand if the value is numeric or string & hence i would have expected the write statement to take care of it appropriately.
Appreciate your help,
Thanks,
Sanju