protected function _getValueForNumberBase($data = null, $returnTableRow = true, $places = 0) {
		if ($data === null) {
			$result = $this->ViewExtension->showEmpty($data);
		} else {
			$result = $this->Number->format($data, ['thousands' => ' ', 'before' => '', 'places' => (int)$places]);
		}

		if ($returnTableRow) {
			$result = [$result, ['class' => 'text-right']];
		}

		return $result;
	}
protected function _getValueForNumberBase($data = null, $returnTableRow = true, $places = 0) {
		if ($data === null) {
			$result = $this->ViewExtension->showEmpty($data);
		} else {
			$result = $this->Number->format($data, ['thousands' => ' ', 'before' => '', 'places' => (int)$places]);
		}

		if ($returnTableRow) {
			$result = [$result, ['class' => 'text-right']];
		}

		return $result;
	}
protected function _getValueForNumberBase ( $ data = null , $ returnTableRow = true , $ places = 0 ) { if ( $ data === null ) { $ result = $ this -> ViewExtension -> showEmpty ( $ data ) ; } else { $ result = $ this -> Number -> format ( $ data , [ 'thousands' => ' ' , 'before' => '' , 'places' => ( int ) $ places ] ) ; } if ( $ returnTableRow ) { $ result = [ $ result , [ 'class' => 'text-right' ] ] ; } return $ result ; }
Return string of formatted number

@param float $data A floating point number
@param bool $returnTableRow If True, return result for row of table.
Otherwise, return as list item.
@param int $places The amount of desired precision.
@return array|string If $returnTableRow is True, Return array of table cell.
Otherwise, return string.
Return string of formatted number