original_string: protected function formatFloatCellValue($node)
      {
          $nodeValue = $node->getAttribute(self::XML_ATTRIBUTE_VALUE);
          $nodeIntValue = intval($nodeValue);
          // The "==" is intentionally not a "===" because only the value matters, not the type
          $cellValue = ($nodeIntValue == $nodeValue) ? $nodeIntValue : floatval($nodeValue);
          return $cellValue;
      }
code: protected function formatFloatCellValue($node)
      {
          $nodeValue = $node->getAttribute(self::XML_ATTRIBUTE_VALUE);
          $nodeIntValue = intval($nodeValue);
          // The "==" is intentionally not a "===" because only the value matters, not the type
          $cellValue = ($nodeIntValue == $nodeValue) ? $nodeIntValue : floatval($nodeValue);
          return $cellValue;
      }
code_tokens: protected function formatFloatCellValue ( $ node ) { $ nodeValue = $ node -> getAttribute ( self :: XML_ATTRIBUTE_VALUE ) ; $ nodeIntValue = intval ( $ nodeValue ) ; // The "==" is intentionally not a "===" because only the value matters, not the type $ cellValue = ( $ nodeIntValue == $ nodeValue ) ? $ nodeIntValue : floatval ( $ nodeValue ) ; return $ cellValue ; }
docstring: Returns the cell Numeric value from the given node.
  
  @param \DOMNode $node
  @return int|float The value associated with the cell
docstring_tokens: Returns the cell Numeric value from the given node .