diff options
author | Mario <mario@mariovavti.com> | 2020-11-27 08:04:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-27 08:04:00 +0000 |
commit | f4bb7bcbff3770387c2fecfa91ce4a60b916a474 (patch) | |
tree | ea007e664d435f1f3d63c87bfe1600484d2bd46c /vendor/commerceguys/intl/README.md | |
parent | 07e5b8295ea9d342f66d8119d88bd58124b548e6 (diff) | |
download | volse-hubzilla-f4bb7bcbff3770387c2fecfa91ce4a60b916a474.tar.gz volse-hubzilla-f4bb7bcbff3770387c2fecfa91ce4a60b916a474.tar.bz2 volse-hubzilla-f4bb7bcbff3770387c2fecfa91ce4a60b916a474.zip |
update composer libs
Diffstat (limited to 'vendor/commerceguys/intl/README.md')
-rw-r--r-- | vendor/commerceguys/intl/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/commerceguys/intl/README.md b/vendor/commerceguys/intl/README.md index 23fa51498..06235c45a 100644 --- a/vendor/commerceguys/intl/README.md +++ b/vendor/commerceguys/intl/README.md @@ -44,7 +44,7 @@ $numberFormatRepository = new NumberFormatRepository; // Options can be provided to the constructor or the // individual methods, the locale defaults to 'en' when missing. $numberFormatter = new NumberFormatter($numberFormatRepository); -echo $numberFormatter->format('1234.99'); // 123,456.99 +echo $numberFormatter->format('1234.99'); // 1,234.99 echo $numberFormatter->format('0.75', ['style' => 'percent']); // 75% $currencyRepository = new CurrencyRepository; @@ -85,6 +85,7 @@ echo $currency->getName(); // dollar des États-Unis echo $currency->getSymbol(); // $US echo $currency->getLocale(); // fr-FR +// Get all currencies, keyed by currency code. $allCurrencies = $currencyRepository->getAll(); ``` @@ -105,6 +106,7 @@ echo $language->getName(); // German $language = $languageRepository->get('de', 'fr-FR'); echo $language->getName(); // allemand +// Get all languages, keyed by language code. $allLanguages = $languageRepository->getAll(); ``` |