WellCommerce\Bundle\CurrencyBundle\Importer\AbstractExchangeRatesImporter::formatExchangeRate PHP Метод

formatExchangeRate() защищенный Метод

Formats the exchange rate
protected formatExchangeRate ( float $rate ) : string
$rate float
Результат string
    protected function formatExchangeRate($rate)
    {
        return number_format($rate, 4, '.', '');
    }