Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
WellCommerce
Bundle
CurrencyBundle
Importer
AbstractExchangeRatesImporter
formatExchangeRate
WellCommerce\Bundle\CurrencyBundle\Importer\AbstractExchangeRatesImporter::formatExchangeRate PHP Method
AbstractExchangeRatesImporter Class Documentation
Show file
Open project: wellcommerce/wellcommerce
formatExchangeRate()
protected
method
Formats the exchange rate
protected
formatExchangeRate
(
float
$rate
) :
string
$rate
float
return
string
protected function formatExchangeRate($rate) { return number_format($rate, 4, '.', ''); }
AbstractExchangeRatesImporter
__construct
addUpdateExchangeRate
formatExchangeRate
getCurrencies
setManagedCurrencies