mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-29 00:36:02 +03:00
Bugfix: (fauvel) Work item 16958 - Cell::getFormattedValue returns RichText object instead of string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83890 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
7fce476f0c
commit
0924d0a4ca
@ -201,9 +201,9 @@ class PHPExcel_Cell
|
||||
*/
|
||||
public function getFormattedValue()
|
||||
{
|
||||
return PHPExcel_Style_NumberFormat::toFormattedString( $this->getCalculatedValue(),
|
||||
$this->_parent->getParent()->getCellXfByIndex($this->getXfIndex())->getNumberFormat()->getFormatCode()
|
||||
);
|
||||
return (string) PHPExcel_Style_NumberFormat::toFormattedString( $this->getCalculatedValue(),
|
||||
$this->_parent->getParent()->getCellXfByIndex($this->getXfIndex())->getNumberFormat()->getFormatCode()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -45,6 +45,7 @@ Fixed in SVN:
|
||||
- Bugfix: (MBaker) Work item 16956 - External links in Excel2010 files cause Fatal error
|
||||
- Bugfix: (MBaker) Work item 16960 - Previous calculation engine error conditions trigger cyclic reference errors
|
||||
- Bugfix: (mkopinsky) Work item 16266 - PHPExcel_Style::applyFromArray() returns null rather than style object in advanced mode
|
||||
- Bugfix: (fauvel) Work item 16958 - Cell::getFormattedValue returns RichText object instead of string
|
||||
- General: (MBaker) Work item 15405 - Two easy to fix Issues concerning PHPExcel_Token_Stack (l10n/UC)
|
||||
- General: (MBaker) Work item 15461 - Locale file paths not fit for windows
|
||||
- General: (MBaker) Work item 16643 - Add file directory as a cache option for cache_to_discISAM
|
||||
|
Loading…
Reference in New Issue
Block a user