You are here

public function PHPExcel_Cell::getFormattedValue in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell.php \PHPExcel_Cell::getFormattedValue()

* Get cell value with formatting * *

Return value

string

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell.php, line 191

Class

PHPExcel_Cell
PHPExcel_Cell

Code

public function getFormattedValue() {
  return (string) PHPExcel_Style_NumberFormat::toFormattedString($this
    ->getCalculatedValue(), $this
    ->getStyle()
    ->getNumberFormat()
    ->getFormatCode());
}