public function convertAndFormat($value, $targetCurrency, $decimal = true, $symbol = true, $valueCurrency = null)
    {
        $value = $this->convert($value, $targetCurrency, $decimal, $valueCurrency);

        return $this->format($value, $targetCurrency, $decimal, $symbol);
    }
public function convertAndFormat($value, $targetCurrency, $decimal = true, $symbol = true, $valueCurrency = null)
    {
        $value = $this->convert($value, $targetCurrency, $decimal, $valueCurrency);

        return $this->format($value, $targetCurrency, $decimal, $symbol);
    }
public function convertAndFormat ( $ value , $ targetCurrency , $ decimal = true , $ symbol = true , $ valueCurrency = null ) { $ value = $ this -> convert ( $ value , $ targetCurrency , $ decimal , $ valueCurrency ) ; return $ this -> format ( $ value , $ targetCurrency , $ decimal , $ symbol ) ; }
Convert and format the given value.

@param mixed   $value
@param string  $targetCurrency  target currency code
@param boolean $decimal         show decimal part
@param boolean $symbol          show currency symbol
@param string  $valueCurrency   the $value currency code
@return string
Convert and format the given value .