Skip to content

Commit

Permalink
setCalculatedValue change
Browse files Browse the repository at this point in the history
  • Loading branch information
zergbz1988 committed Dec 27, 2016
1 parent 12f91aa commit 1579589
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Classes/PHPExcel/Cell.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public function getCalculatedValue($resetLog = true)
public function setCalculatedValue($pValue = null)
{
if ($pValue !== null) {
$this->calculatedValue = (is_numeric($pValue)) ? (float) $pValue : $pValue;
$this->calculatedValue = $pValue;
}

return $this->notifyCacheController();
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Do not use this fork! Please!

# PHPExcel - OpenXML - Read, Write and Create spreadsheet documents in PHP - Spreadsheet engine
PHPExcel is a library written in pure PHP and providing a set of classes that allow you to write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.

Expand Down
18 changes: 3 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"name": "phpoffice/phpexcel",
"name": "zergbz1988/phpexcel",
"description": "PHPExcel - OpenXML - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine",
"keywords": ["PHP","Excel","OpenXML","xlsx","xls","spreadsheet"],
"homepage": "https://github.com/PHPOffice/PHPExcel",
"homepage": "https://github.com/zergbz1988/PHPExcel",
"type": "library",
"license": "LGPL-2.1",
"authors": [
{
"name": "Maarten Balliauw",
"homepage": "http://blog.maartenballiauw.be"
},
{
"name": "Mark Baker",
"homepage": "http://markbakeruk.net"
},
{
"name": "Franck Lefevre",
"homepage": "http://rootslabs.net"
},
{
"name": "Erik Tilt"
"name": "zergbz1988"
}
],
"require": {
Expand Down

0 comments on commit 1579589

Please sign in to comment.