Twig/CurrencyExtension.php
public function convertPrice(float $price, $baseCurrency = null, $targetCurrency = null, $quantity = 1) : string
    {
        return $this->helper->convert($price, $baseCurrency, $targetCurrency, $quantity);
    }
public function convertPrice(float $price, $baseCurrency = null, $targetCurrency = null, $quantity = 1) : string
    {
        return $this->helper->convert($price, $baseCurrency, $targetCurrency, $quantity);
    }
public function convertPrice ( float $ price , $ baseCurrency = null , $ targetCurrency = null , $ quantity = 1 ) : string { return $ this -> helper -> convert ( $ price , $ baseCurrency , $ targetCurrency , $ quantity ) ; }
Converts the given amount

@param float       $price
@param null|string $baseCurrency
@param null|string $targetCurrency
@param int         $quantity

@return string
Converts the given amount