classes/helper/PriceHelper.php
public static function toFloat($sValue)
    {
        $sValue = str_replace(',', '.', $sValue);
        $fPrice = (float) preg_replace("/[^0-9\.]/", "", $sValue);

        return $fPrice;
    }
public static function toFloat($sValue)
    {
        $sValue = str_replace(',', '.', $sValue);
        $fPrice = (float) preg_replace("/[^0-9\.]/", "", $sValue);

        return $fPrice;
    }
public static function toFloat ( $ sValue ) { $ sValue = str_replace ( ',' , '.' , $ sValue ) ; $ fPrice = ( float ) preg_replace ( "/[^0-9\.]/" , "" , $ sValue ) ; return $ fPrice ; }
Convert price string to float value
@param string $sValue
@return float
Convert price string to float value