Method |
Description |
|
convert ( float $amount, string $baseCurrency = null, string $targetCurrency = null, integer $quantity = 1 ) : float |
Converts the amount between currencies |
|
convertAndFormat ( float $amount, string $baseCurrency = null, string $targetCurrency = null, integer $quantity = 1, string $locale = null ) : string |
Firts converts and then formats the amount |
|
format ( float $amount, string $currency = null, string $locale = null ) : string |
Formats the given amount |
|
getCurrencyRate ( string $baseCurrency = null, string $targetCurrency = null ) : float |
Returns the exchange rate |
|