Swat/SwatPercentageEntry.php
protected function getDisplayValue($value)
    {
        if (is_numeric($value)) {
            $value = $value * 100;
            $value = parent::getDisplayValue($value);
            $value = $value . '%';
        } else {
            $value = parent::getDisplayValue($value);
        }

        return $value;
    }
protected function getDisplayValue($value)
    {
        if (is_numeric($value)) {
            $value = $value * 100;
            $value = parent::getDisplayValue($value);
            $value = $value . '%';
        } else {
            $value = parent::getDisplayValue($value);
        }

        return $value;
    }
protected function getDisplayValue ( $ value ) { if ( is_numeric ( $ value ) ) { $ value = $ value * 100 ; $ value = parent :: getDisplayValue ( $ value ) ; $ value = $ value . '%' ; } else { $ value = parent :: getDisplayValue ( $ value ) ; } return $ value ; }
Returns a value for this widget

The method returns a value to be displayed in the widget

@return string the final percentage value
Returns a value for this widget