Class Currency
A currency.
<?php use ICanBoogie\CLDR\Currency; $euro = new Currency($cldr, 'EUR'); # or $euro = $cldr->currencies['EUR']; echo $euro->code; // EUR echo $euro->digits; // 2 echo $euro->rounding; // 0 echo $euro->cash_digits; //
- ICanBoogie\CLDR\Currency uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\CLDR\RepositoryPropertyTrait, ICanBoogie\CLDR\CodePropertyTrait
Namespace: ICanBoogie\CLDR
See: http://unicode.org/reports/tr35/tr35-numbers.html#Supplemental_Currency_Data
Located at Currency.php
See: http://unicode.org/reports/tr35/tr35-numbers.html#Supplemental_Currency_Data
Located at Currency.php
Methods summary
Methods used from ICanBoogie\CLDR\RepositoryPropertyTrait
Methods used from ICanBoogie\CLDR\CodePropertyTrait
Constants summary
Properties summary
Magic properties
public read-only
$digits
: integer
The minimum and maximum number of decimal digits normally formatted.