public function currencyConvert($amount, $from, $to)
    {
     
        if($from===$to)
        {
            return round($amount, 2);
        }
        
        if ($this->_currencyConverter==='currencylayer')
        {
            return self::currencyLayerConvert($amount, $from, $to);
        }
        elseif ($this->_currencyConverter==='exchangerate')
        {
            return self::exchangeRateConvert($amount, $from, $to);
        }
        
        return self::smartConvert($amount, $from, $to);

    }