Swat/SwatPercentageEntry.php
protected function getNumericValue($value)
    {
        $value = trim($value);
        $value = str_replace('%', '', $value);
        $value = parent::getNumericValue($value);
        if ($value !== null) {
            $value = $value / 100;
        }

        return $value;
    }
protected function getNumericValue($value)
    {
        $value = trim($value);
        $value = str_replace('%', '', $value);
        $value = parent::getNumericValue($value);
        if ($value !== null) {
            $value = $value / 100;
        }

        return $value;
    }
protected function getNumericValue ( $ value ) { $ value = trim ( $ value ) ; $ value = str_replace ( '%' , '' , $ value ) ; $ value = parent :: getNumericValue ( $ value ) ; if ( $ value !== null ) { $ value = $ value / 100 ; } return $ value ; }
Gets the float value of this widget

This allows each widget to parse raw values and turn them into floats

@param string $value the raw value to use to get the numeric value.

@return mixed the numeric value of this entry widget or null if no
no numeric value is available.
Gets the float value of this widget