Protected Member Functions | |
_getValue (Varien_Object $row) |
Definition at line 35 of file Data.php.
_getValue | ( | Varien_Object $ | row | ) | [protected] |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Definition at line 37 of file Data.php.
00038 { 00039 $data = parent::_getValue($row); 00040 if (intval($data) == $data) { 00041 return (string) number_format($data, 2); 00042 } 00043 if (!is_null($data)) { 00044 return $data * 1; 00045 } 00046 return $this->getColumn()->getDefault(); 00047 }