CurrencyBundleInterface
interface CurrencyBundleInterface implements ResourceBundleInterface
Gives access to currency-related ICU data.
Methods
string[]
getLocales()
Returns the list of locales that this bundle supports.
string|null
getCurrencySymbol(string $currency, string $displayLocale = null)
Returns the symbol used for a currency.
string|null
getCurrencyName(string $currency, string $displayLocale = null)
Returns the name of a currency.
string[]
getCurrencyNames(string $displayLocale = null)
Returns the names of all known currencies.
int|null
getFractionDigits(string $currency)
Returns the number of digits after the comma of a currency.
float|int|null
getRoundingIncrement(string $currency)
Returns the rounding increment of a currency.
Details
string|null
getCurrencySymbol(string $currency, string $displayLocale = null)
Returns the symbol used for a currency.
string|null
getCurrencyName(string $currency, string $displayLocale = null)
Returns the name of a currency.