protected function currencyToValue($format, $formattedValue)
    {
        if (!$this->_localeInfo) {
            return $formattedValue;
        }
        $tmp = str_replace($this->_localeInfo["currency_symbol"], null, $formattedValue);
        $tmp = str_replace($this->_localeInfo['thousands_sep'], null, $tmp);
        return (float) $tmp;
    }
protected function currencyToValue($format, $formattedValue)
    {
        if (!$this->_localeInfo) {
            return $formattedValue;
        }
        $tmp = str_replace($this->_localeInfo["currency_symbol"], null, $formattedValue);
        $tmp = str_replace($this->_localeInfo['thousands_sep'], null, $tmp);
        return (float) $tmp;
    }
protected function currencyToValue ( $ format , $ formattedValue ) { if ( ! $ this -> _localeInfo ) { return $ formattedValue ; } $ tmp = str_replace ( $ this -> _localeInfo [ "currency_symbol" ] , null , $ formattedValue ) ; $ tmp = str_replace ( $ this -> _localeInfo [ 'thousands_sep' ] , null , $ tmp ) ; return ( float ) $ tmp ; }
Unformat a currency to value

@param string $format - type format
@param string $formattedValue - formatted string value
@return mixed - value
Unformat a currency to value