Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Convert JSON data to PHP code simple solution http://www.nabito.net/convert-json-data-to-valid-php-code/
<?php
$data = json_decode(file_get_contents(__DIR__ . '/currency.json'));
$code = var_export((array)$data, true);
// add gettext function call
$code = preg_replace("/'name' => '(.+)'/", "'name' => __('$1')", $code);
$code = preg_replace("/'name_plural' => '(.+)'/", "'name' => __('$1')", $code);
// save PHP code
$code = "<?php\n return " . preg_replace('/stdClass::__set_state/', '(object)', $code) . ';';
file_put_contents(__DIR__ . '/currencies.locale.php', $code);
<?php
return array (
'USD' =>
(object)(array(
'symbol' => '$',
'name' => __('US Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'USD',
'name' => __('US dollars'),
)),
'CAD' =>
(object)(array(
'symbol' => 'CA$',
'name' => __('Canadian Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'CAD',
'name' => __('Canadian dollars'),
)),
'EUR' =>
(object)(array(
'symbol' => '€',
'name' => __('Euro'),
'symbol_native' => '€',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'EUR',
'name' => __('euros'),
)),
'AED' =>
(object)(array(
'symbol' => 'AED',
'name' => __('United Arab Emirates Dirham'),
'symbol_native' => 'د.إ.‏',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'AED',
'name' => __('UAE dirhams'),
)),
'AFN' =>
(object)(array(
'symbol' => 'Af',
'name' => __('Afghan Afghani'),
'symbol_native' => '؋',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'AFN',
'name' => __('Afghan Afghanis'),
)),
'ALL' =>
(object)(array(
'symbol' => 'ALL',
'name' => __('Albanian Lek'),
'symbol_native' => 'Lek',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'ALL',
'name' => __('Albanian lekë'),
)),
'AMD' =>
(object)(array(
'symbol' => 'AMD',
'name' => __('Armenian Dram'),
'symbol_native' => 'դր.',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'AMD',
'name' => __('Armenian drams'),
)),
'ARS' =>
(object)(array(
'symbol' => 'AR$',
'name' => __('Argentine Peso'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'ARS',
'name' => __('Argentine pesos'),
)),
'AUD' =>
(object)(array(
'symbol' => 'AU$',
'name' => __('Australian Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'AUD',
'name' => __('Australian dollars'),
)),
'AZN' =>
(object)(array(
'symbol' => 'man.',
'name' => __('Azerbaijani Manat'),
'symbol_native' => 'ман.',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'AZN',
'name' => __('Azerbaijani manats'),
)),
'BAM' =>
(object)(array(
'symbol' => 'KM',
'name' => __('Bosnia-Herzegovina Convertible Mark'),
'symbol_native' => 'KM',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BAM',
'name' => __('Bosnia-Herzegovina convertible marks'),
)),
'BDT' =>
(object)(array(
'symbol' => 'Tk',
'name' => __('Bangladeshi Taka'),
'symbol_native' => '৳',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BDT',
'name' => __('Bangladeshi takas'),
)),
'BGN' =>
(object)(array(
'symbol' => 'BGN',
'name' => __('Bulgarian Lev'),
'symbol_native' => 'лв.',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BGN',
'name' => __('Bulgarian leva'),
)),
'BHD' =>
(object)(array(
'symbol' => 'BD',
'name' => __('Bahraini Dinar'),
'symbol_native' => 'د.ب.‏',
'decimal_digits' => 3,
'rounding' => 0,
'code' => 'BHD',
'name' => __('Bahraini dinars'),
)),
'BIF' =>
(object)(array(
'symbol' => 'FBu',
'name' => __('Burundian Franc'),
'symbol_native' => 'FBu',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'BIF',
'name' => __('Burundian francs'),
)),
'BND' =>
(object)(array(
'symbol' => 'BN$',
'name' => __('Brunei Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BND',
'name' => __('Brunei dollars'),
)),
'BOB' =>
(object)(array(
'symbol' => 'Bs',
'name' => __('Bolivian Boliviano'),
'symbol_native' => 'Bs',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BOB',
'name' => __('Bolivian bolivianos'),
)),
'BRL' =>
(object)(array(
'symbol' => 'R$',
'name' => __('Brazilian Real'),
'symbol_native' => 'R$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BRL',
'name' => __('Brazilian reals'),
)),
'BWP' =>
(object)(array(
'symbol' => 'BWP',
'name' => __('Botswanan Pula'),
'symbol_native' => 'P',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BWP',
'name' => __('Botswanan pulas'),
)),
'BYR' =>
(object)(array(
'symbol' => 'BYR',
'name' => __('Belarusian Ruble'),
'symbol_native' => 'BYR',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'BYR',
'name' => __('Belarusian rubles'),
)),
'BZD' =>
(object)(array(
'symbol' => 'BZ$',
'name' => __('Belize Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'BZD',
'name' => __('Belize dollars'),
)),
'CDF' =>
(object)(array(
'symbol' => 'CDF',
'name' => __('Congolese Franc'),
'symbol_native' => 'FrCD',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'CDF',
'name' => __('Congolese francs'),
)),
'CHF' =>
(object)(array(
'symbol' => 'CHF',
'name' => __('Swiss Franc'),
'symbol_native' => 'CHF',
'decimal_digits' => 2,
'rounding' => 0.050000000000000003,
'code' => 'CHF',
'name' => __('Swiss francs'),
)),
'CLP' =>
(object)(array(
'symbol' => 'CL$',
'name' => __('Chilean Peso'),
'symbol_native' => '$',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'CLP',
'name' => __('Chilean pesos'),
)),
'CNY' =>
(object)(array(
'symbol' => 'CN¥',
'name' => __('Chinese Yuan'),
'symbol_native' => 'CN¥',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'CNY',
'name' => __('Chinese yuan'),
)),
'COP' =>
(object)(array(
'symbol' => 'CO$',
'name' => __('Colombian Peso'),
'symbol_native' => '$',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'COP',
'name' => __('Colombian pesos'),
)),
'CRC' =>
(object)(array(
'symbol' => '₡',
'name' => __('Costa Rican Colón'),
'symbol_native' => '₡',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'CRC',
'name' => __('Costa Rican colóns'),
)),
'CVE' =>
(object)(array(
'symbol' => 'CV$',
'name' => __('Cape Verdean Escudo'),
'symbol_native' => 'CV$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'CVE',
'name' => __('Cape Verdean escudos'),
)),
'CZK' =>
(object)(array(
'symbol' => 'Kč',
'name' => __('Czech Republic Koruna'),
'symbol_native' => 'Kč',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'CZK',
'name' => __('Czech Republic korunas'),
)),
'DJF' =>
(object)(array(
'symbol' => 'Fdj',
'name' => __('Djiboutian Franc'),
'symbol_native' => 'Fdj',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'DJF',
'name' => __('Djiboutian francs'),
)),
'DKK' =>
(object)(array(
'symbol' => 'Dkr',
'name' => __('Danish Krone'),
'symbol_native' => 'kr',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'DKK',
'name' => __('Danish kroner'),
)),
'DOP' =>
(object)(array(
'symbol' => 'RD$',
'name' => __('Dominican Peso'),
'symbol_native' => 'RD$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'DOP',
'name' => __('Dominican pesos'),
)),
'DZD' =>
(object)(array(
'symbol' => 'DA',
'name' => __('Algerian Dinar'),
'symbol_native' => 'د.ج.‏',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'DZD',
'name' => __('Algerian dinars'),
)),
'EEK' =>
(object)(array(
'symbol' => 'Ekr',
'name' => __('Estonian Kroon'),
'symbol_native' => 'kr',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'EEK',
'name' => __('Estonian kroons'),
)),
'EGP' =>
(object)(array(
'symbol' => 'EGP',
'name' => __('Egyptian Pound'),
'symbol_native' => 'ج.م.‏',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'EGP',
'name' => __('Egyptian pounds'),
)),
'ERN' =>
(object)(array(
'symbol' => 'Nfk',
'name' => __('Eritrean Nakfa'),
'symbol_native' => 'Nfk',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'ERN',
'name' => __('Eritrean nakfas'),
)),
'ETB' =>
(object)(array(
'symbol' => 'Br',
'name' => __('Ethiopian Birr'),
'symbol_native' => 'Br',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'ETB',
'name' => __('Ethiopian birrs'),
)),
'GBP' =>
(object)(array(
'symbol' => '£',
'name' => __('British Pound Sterling'),
'symbol_native' => '£',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'GBP',
'name' => __('British pounds sterling'),
)),
'GEL' =>
(object)(array(
'symbol' => 'GEL',
'name' => __('Georgian Lari'),
'symbol_native' => 'GEL',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'GEL',
'name' => __('Georgian laris'),
)),
'GHS' =>
(object)(array(
'symbol' => 'GH₵',
'name' => __('Ghanaian Cedi'),
'symbol_native' => 'GH₵',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'GHS',
'name' => __('Ghanaian cedis'),
)),
'GNF' =>
(object)(array(
'symbol' => 'FG',
'name' => __('Guinean Franc'),
'symbol_native' => 'FG',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'GNF',
'name' => __('Guinean francs'),
)),
'GTQ' =>
(object)(array(
'symbol' => 'GTQ',
'name' => __('Guatemalan Quetzal'),
'symbol_native' => 'Q',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'GTQ',
'name' => __('Guatemalan quetzals'),
)),
'HKD' =>
(object)(array(
'symbol' => 'HK$',
'name' => __('Hong Kong Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'HKD',
'name' => __('Hong Kong dollars'),
)),
'HNL' =>
(object)(array(
'symbol' => 'HNL',
'name' => __('Honduran Lempira'),
'symbol_native' => 'L',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'HNL',
'name' => __('Honduran lempiras'),
)),
'HRK' =>
(object)(array(
'symbol' => 'kn',
'name' => __('Croatian Kuna'),
'symbol_native' => 'kn',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'HRK',
'name' => __('Croatian kunas'),
)),
'HUF' =>
(object)(array(
'symbol' => 'Ft',
'name' => __('Hungarian Forint'),
'symbol_native' => 'Ft',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'HUF',
'name' => __('Hungarian forints'),
)),
'IDR' =>
(object)(array(
'symbol' => 'Rp',
'name' => __('Indonesian Rupiah'),
'symbol_native' => 'Rp',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'IDR',
'name' => __('Indonesian rupiahs'),
)),
'ILS' =>
(object)(array(
'symbol' => '₪',
'name' => __('Israeli New Sheqel'),
'symbol_native' => '₪',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'ILS',
'name' => __('Israeli new sheqels'),
)),
'INR' =>
(object)(array(
'symbol' => 'Rs',
'name' => __('Indian Rupee'),
'symbol_native' => 'টকা',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'INR',
'name' => __('Indian rupees'),
)),
'IQD' =>
(object)(array(
'symbol' => 'IQD',
'name' => __('Iraqi Dinar'),
'symbol_native' => 'د.ع.‏',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'IQD',
'name' => __('Iraqi dinars'),
)),
'IRR' =>
(object)(array(
'symbol' => 'IRR',
'name' => __('Iranian Rial'),
'symbol_native' => '﷼',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'IRR',
'name' => __('Iranian rials'),
)),
'ISK' =>
(object)(array(
'symbol' => 'Ikr',
'name' => __('Icelandic Króna'),
'symbol_native' => 'kr',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'ISK',
'name' => __('Icelandic krónur'),
)),
'JMD' =>
(object)(array(
'symbol' => 'J$',
'name' => __('Jamaican Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'JMD',
'name' => __('Jamaican dollars'),
)),
'JOD' =>
(object)(array(
'symbol' => 'JD',
'name' => __('Jordanian Dinar'),
'symbol_native' => 'د.أ.‏',
'decimal_digits' => 3,
'rounding' => 0,
'code' => 'JOD',
'name' => __('Jordanian dinars'),
)),
'JPY' =>
(object)(array(
'symbol' => '¥',
'name' => __('Japanese Yen'),
'symbol_native' => '¥',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'JPY',
'name' => __('Japanese yen'),
)),
'KES' =>
(object)(array(
'symbol' => 'Ksh',
'name' => __('Kenyan Shilling'),
'symbol_native' => 'Ksh',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'KES',
'name' => __('Kenyan shillings'),
)),
'KHR' =>
(object)(array(
'symbol' => 'KHR',
'name' => __('Cambodian Riel'),
'symbol_native' => '៛',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'KHR',
'name' => __('Cambodian riels'),
)),
'KMF' =>
(object)(array(
'symbol' => 'CF',
'name' => __('Comorian Franc'),
'symbol_native' => 'FC',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'KMF',
'name' => __('Comorian francs'),
)),
'KRW' =>
(object)(array(
'symbol' => '₩',
'name' => __('South Korean Won'),
'symbol_native' => '₩',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'KRW',
'name' => __('South Korean won'),
)),
'KWD' =>
(object)(array(
'symbol' => 'KD',
'name' => __('Kuwaiti Dinar'),
'symbol_native' => 'د.ك.‏',
'decimal_digits' => 3,
'rounding' => 0,
'code' => 'KWD',
'name' => __('Kuwaiti dinars'),
)),
'KZT' =>
(object)(array(
'symbol' => 'KZT',
'name' => __('Kazakhstani Tenge'),
'symbol_native' => 'тңг.',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'KZT',
'name' => __('Kazakhstani tenges'),
)),
'LBP' =>
(object)(array(
'symbol' => 'LB£',
'name' => __('Lebanese Pound'),
'symbol_native' => 'ل.ل.‏',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'LBP',
'name' => __('Lebanese pounds'),
)),
'LKR' =>
(object)(array(
'symbol' => 'SLRs',
'name' => __('Sri Lankan Rupee'),
'symbol_native' => 'SL Re',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'LKR',
'name' => __('Sri Lankan rupees'),
)),
'LTL' =>
(object)(array(
'symbol' => 'Lt',
'name' => __('Lithuanian Litas'),
'symbol_native' => 'Lt',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'LTL',
'name' => __('Lithuanian litai'),
)),
'LVL' =>
(object)(array(
'symbol' => 'Ls',
'name' => __('Latvian Lats'),
'symbol_native' => 'Ls',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'LVL',
'name' => __('Latvian lati'),
)),
'LYD' =>
(object)(array(
'symbol' => 'LD',
'name' => __('Libyan Dinar'),
'symbol_native' => 'د.ل.‏',
'decimal_digits' => 3,
'rounding' => 0,
'code' => 'LYD',
'name' => __('Libyan dinars'),
)),
'MAD' =>
(object)(array(
'symbol' => 'MAD',
'name' => __('Moroccan Dirham'),
'symbol_native' => 'د.م.‏',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'MAD',
'name' => __('Moroccan dirhams'),
)),
'MDL' =>
(object)(array(
'symbol' => 'MDL',
'name' => __('Moldovan Leu'),
'symbol_native' => 'MDL',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'MDL',
'name' => __('Moldovan lei'),
)),
'MGA' =>
(object)(array(
'symbol' => 'MGA',
'name' => __('Malagasy Ariary'),
'symbol_native' => 'MGA',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'MGA',
'name' => __('Malagasy Ariaries'),
)),
'MKD' =>
(object)(array(
'symbol' => 'MKD',
'name' => __('Macedonian Denar'),
'symbol_native' => 'MKD',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'MKD',
'name' => __('Macedonian denari'),
)),
'MMK' =>
(object)(array(
'symbol' => 'MMK',
'name' => __('Myanma Kyat'),
'symbol_native' => 'K',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'MMK',
'name' => __('Myanma kyats'),
)),
'MOP' =>
(object)(array(
'symbol' => 'MOP$',
'name' => __('Macanese Pataca'),
'symbol_native' => 'MOP$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'MOP',
'name' => __('Macanese patacas'),
)),
'MUR' =>
(object)(array(
'symbol' => 'MURs',
'name' => __('Mauritian Rupee'),
'symbol_native' => 'MURs',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'MUR',
'name' => __('Mauritian rupees'),
)),
'MXN' =>
(object)(array(
'symbol' => 'MX$',
'name' => __('Mexican Peso'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'MXN',
'name' => __('Mexican pesos'),
)),
'MYR' =>
(object)(array(
'symbol' => 'RM',
'name' => __('Malaysian Ringgit'),
'symbol_native' => 'RM',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'MYR',
'name' => __('Malaysian ringgits'),
)),
'MZN' =>
(object)(array(
'symbol' => 'MTn',
'name' => __('Mozambican Metical'),
'symbol_native' => 'MTn',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'MZN',
'name' => __('Mozambican meticals'),
)),
'NAD' =>
(object)(array(
'symbol' => 'N$',
'name' => __('Namibian Dollar'),
'symbol_native' => 'N$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'NAD',
'name' => __('Namibian dollars'),
)),
'NGN' =>
(object)(array(
'symbol' => '₦',
'name' => __('Nigerian Naira'),
'symbol_native' => '₦',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'NGN',
'name' => __('Nigerian nairas'),
)),
'NIO' =>
(object)(array(
'symbol' => 'C$',
'name' => __('Nicaraguan Córdoba'),
'symbol_native' => 'C$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'NIO',
'name' => __('Nicaraguan córdobas'),
)),
'NOK' =>
(object)(array(
'symbol' => 'Nkr',
'name' => __('Norwegian Krone'),
'symbol_native' => 'kr',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'NOK',
'name' => __('Norwegian kroner'),
)),
'NPR' =>
(object)(array(
'symbol' => 'NPRs',
'name' => __('Nepalese Rupee'),
'symbol_native' => 'नेरू',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'NPR',
'name' => __('Nepalese rupees'),
)),
'NZD' =>
(object)(array(
'symbol' => 'NZ$',
'name' => __('New Zealand Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'NZD',
'name' => __('New Zealand dollars'),
)),
'OMR' =>
(object)(array(
'symbol' => 'OMR',
'name' => __('Omani Rial'),
'symbol_native' => 'ر.ع.‏',
'decimal_digits' => 3,
'rounding' => 0,
'code' => 'OMR',
'name' => __('Omani rials'),
)),
'PAB' =>
(object)(array(
'symbol' => 'B/.',
'name' => __('Panamanian Balboa'),
'symbol_native' => 'B/.',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'PAB',
'name' => __('Panamanian balboas'),
)),
'PEN' =>
(object)(array(
'symbol' => 'S/.',
'name' => __('Peruvian Nuevo Sol'),
'symbol_native' => 'S/.',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'PEN',
'name' => __('Peruvian nuevos soles'),
)),
'PHP' =>
(object)(array(
'symbol' => '₱',
'name' => __('Philippine Peso'),
'symbol_native' => '₱',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'PHP',
'name' => __('Philippine pesos'),
)),
'PKR' =>
(object)(array(
'symbol' => 'PKRs',
'name' => __('Pakistani Rupee'),
'symbol_native' => '₨',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'PKR',
'name' => __('Pakistani rupees'),
)),
'PLN' =>
(object)(array(
'symbol' => 'zł',
'name' => __('Polish Zloty'),
'symbol_native' => 'zł',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'PLN',
'name' => __('Polish zlotys'),
)),
'PYG' =>
(object)(array(
'symbol' => '₲',
'name' => __('Paraguayan Guarani'),
'symbol_native' => '₲',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'PYG',
'name' => __('Paraguayan guaranis'),
)),
'QAR' =>
(object)(array(
'symbol' => 'QR',
'name' => __('Qatari Rial'),
'symbol_native' => 'ر.ق.‏',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'QAR',
'name' => __('Qatari rials'),
)),
'RON' =>
(object)(array(
'symbol' => 'RON',
'name' => __('Romanian Leu'),
'symbol_native' => 'RON',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'RON',
'name' => __('Romanian lei'),
)),
'RSD' =>
(object)(array(
'symbol' => 'din.',
'name' => __('Serbian Dinar'),
'symbol_native' => 'дин.',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'RSD',
'name' => __('Serbian dinars'),
)),
'RUB' =>
(object)(array(
'symbol' => 'RUB',
'name' => __('Russian Ruble'),
'symbol_native' => 'руб.',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'RUB',
'name' => __('Russian rubles'),
)),
'RWF' =>
(object)(array(
'symbol' => 'RWF',
'name' => __('Rwandan Franc'),
'symbol_native' => 'FR',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'RWF',
'name' => __('Rwandan francs'),
)),
'SAR' =>
(object)(array(
'symbol' => 'SR',
'name' => __('Saudi Riyal'),
'symbol_native' => 'ر.س.‏',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'SAR',
'name' => __('Saudi riyals'),
)),
'SDG' =>
(object)(array(
'symbol' => 'SDG',
'name' => __('Sudanese Pound'),
'symbol_native' => 'SDG',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'SDG',
'name' => __('Sudanese pounds'),
)),
'SEK' =>
(object)(array(
'symbol' => 'Skr',
'name' => __('Swedish Krona'),
'symbol_native' => 'kr',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'SEK',
'name' => __('Swedish kronor'),
)),
'SGD' =>
(object)(array(
'symbol' => 'S$',
'name' => __('Singapore Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'SGD',
'name' => __('Singapore dollars'),
)),
'SOS' =>
(object)(array(
'symbol' => 'Ssh',
'name' => __('Somali Shilling'),
'symbol_native' => 'Ssh',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'SOS',
'name' => __('Somali shillings'),
)),
'SYP' =>
(object)(array(
'symbol' => 'SY£',
'name' => __('Syrian Pound'),
'symbol_native' => 'ل.س.‏',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'SYP',
'name' => __('Syrian pounds'),
)),
'THB' =>
(object)(array(
'symbol' => '฿',
'name' => __('Thai Baht'),
'symbol_native' => '฿',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'THB',
'name' => __('Thai baht'),
)),
'TND' =>
(object)(array(
'symbol' => 'DT',
'name' => __('Tunisian Dinar'),
'symbol_native' => 'د.ت.‏',
'decimal_digits' => 3,
'rounding' => 0,
'code' => 'TND',
'name' => __('Tunisian dinars'),
)),
'TOP' =>
(object)(array(
'symbol' => 'T$',
'name' => __('Tongan Paʻanga'),
'symbol_native' => 'T$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'TOP',
'name' => __('Tongan paʻanga'),
)),
'TRY' =>
(object)(array(
'symbol' => 'TL',
'name' => __('Turkish Lira'),
'symbol_native' => 'TL',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'TRY',
'name' => __('Turkish Lira'),
)),
'TTD' =>
(object)(array(
'symbol' => 'TT$',
'name' => __('Trinidad and Tobago Dollar'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'TTD',
'name' => __('Trinidad and Tobago dollars'),
)),
'TWD' =>
(object)(array(
'symbol' => 'NT$',
'name' => __('New Taiwan Dollar'),
'symbol_native' => 'NT$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'TWD',
'name' => __('New Taiwan dollars'),
)),
'TZS' =>
(object)(array(
'symbol' => 'TSh',
'name' => __('Tanzanian Shilling'),
'symbol_native' => 'TSh',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'TZS',
'name' => __('Tanzanian shillings'),
)),
'UAH' =>
(object)(array(
'symbol' => '₴',
'name' => __('Ukrainian Hryvnia'),
'symbol_native' => '₴',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'UAH',
'name' => __('Ukrainian hryvnias'),
)),
'UGX' =>
(object)(array(
'symbol' => 'USh',
'name' => __('Ugandan Shilling'),
'symbol_native' => 'USh',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'UGX',
'name' => __('Ugandan shillings'),
)),
'UYU' =>
(object)(array(
'symbol' => '$U',
'name' => __('Uruguayan Peso'),
'symbol_native' => '$',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'UYU',
'name' => __('Uruguayan pesos'),
)),
'UZS' =>
(object)(array(
'symbol' => 'UZS',
'name' => __('Uzbekistan Som'),
'symbol_native' => 'UZS',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'UZS',
'name' => __('Uzbekistan som'),
)),
'VEF' =>
(object)(array(
'symbol' => 'Bs.F.',
'name' => __('Venezuelan Bolívar'),
'symbol_native' => 'Bs.F.',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'VEF',
'name' => __('Venezuelan bolívars'),
)),
'VND' =>
(object)(array(
'symbol' => '₫',
'name' => __('Vietnamese Dong'),
'symbol_native' => '₫',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'VND',
'name' => __('Vietnamese dong'),
)),
'XAF' =>
(object)(array(
'symbol' => 'FCFA',
'name' => __('CFA Franc BEAC'),
'symbol_native' => 'FCFA',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'XAF',
'name' => __('CFA francs BEAC'),
)),
'XOF' =>
(object)(array(
'symbol' => 'CFA',
'name' => __('CFA Franc BCEAO'),
'symbol_native' => 'CFA',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'XOF',
'name' => __('CFA francs BCEAO'),
)),
'YER' =>
(object)(array(
'symbol' => 'YR',
'name' => __('Yemeni Rial'),
'symbol_native' => 'ر.ي.‏',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'YER',
'name' => __('Yemeni rials'),
)),
'ZAR' =>
(object)(array(
'symbol' => 'R',
'name' => __('South African Rand'),
'symbol_native' => 'R',
'decimal_digits' => 2,
'rounding' => 0,
'code' => 'ZAR',
'name' => __('South African rand'),
)),
'ZMK' =>
(object)(array(
'symbol' => 'ZK',
'name' => __('Zambian Kwacha'),
'symbol_native' => 'ZK',
'decimal_digits' => 0,
'rounding' => 0,
'code' => 'ZMK',
'name' => __('Zambian kwachas'),
)),
);
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
"CAD": {
"symbol": "CA$",
"name": "Canadian Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "CAD",
"name_plural": "Canadian dollars"
},
"EUR": {
"symbol": "",
"name": "Euro",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "EUR",
"name_plural": "euros"
},
"AED": {
"symbol": "AED",
"name": "United Arab Emirates Dirham",
"symbol_native": "د.إ.‏",
"decimal_digits": 2,
"rounding": 0,
"code": "AED",
"name_plural": "UAE dirhams"
},
"AFN": {
"symbol": "Af",
"name": "Afghan Afghani",
"symbol_native": "؋",
"decimal_digits": 0,
"rounding": 0,
"code": "AFN",
"name_plural": "Afghan Afghanis"
},
"ALL": {
"symbol": "ALL",
"name": "Albanian Lek",
"symbol_native": "Lek",
"decimal_digits": 0,
"rounding": 0,
"code": "ALL",
"name_plural": "Albanian lekë"
},
"AMD": {
"symbol": "AMD",
"name": "Armenian Dram",
"symbol_native": "դր.",
"decimal_digits": 0,
"rounding": 0,
"code": "AMD",
"name_plural": "Armenian drams"
},
"ARS": {
"symbol": "AR$",
"name": "Argentine Peso",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "ARS",
"name_plural": "Argentine pesos"
},
"AUD": {
"symbol": "AU$",
"name": "Australian Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "AUD",
"name_plural": "Australian dollars"
},
"AZN": {
"symbol": "man.",
"name": "Azerbaijani Manat",
"symbol_native": "ман.",
"decimal_digits": 2,
"rounding": 0,
"code": "AZN",
"name_plural": "Azerbaijani manats"
},
"BAM": {
"symbol": "KM",
"name": "Bosnia-Herzegovina Convertible Mark",
"symbol_native": "KM",
"decimal_digits": 2,
"rounding": 0,
"code": "BAM",
"name_plural": "Bosnia-Herzegovina convertible marks"
},
"BDT": {
"symbol": "Tk",
"name": "Bangladeshi Taka",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "BDT",
"name_plural": "Bangladeshi takas"
},
"BGN": {
"symbol": "BGN",
"name": "Bulgarian Lev",
"symbol_native": "лв.",
"decimal_digits": 2,
"rounding": 0,
"code": "BGN",
"name_plural": "Bulgarian leva"
},
"BHD": {
"symbol": "BD",
"name": "Bahraini Dinar",
"symbol_native": "د.ب.‏",
"decimal_digits": 3,
"rounding": 0,
"code": "BHD",
"name_plural": "Bahraini dinars"
},
"BIF": {
"symbol": "FBu",
"name": "Burundian Franc",
"symbol_native": "FBu",
"decimal_digits": 0,
"rounding": 0,
"code": "BIF",
"name_plural": "Burundian francs"
},
"BND": {
"symbol": "BN$",
"name": "Brunei Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "BND",
"name_plural": "Brunei dollars"
},
"BOB": {
"symbol": "Bs",
"name": "Bolivian Boliviano",
"symbol_native": "Bs",
"decimal_digits": 2,
"rounding": 0,
"code": "BOB",
"name_plural": "Bolivian bolivianos"
},
"BRL": {
"symbol": "R$",
"name": "Brazilian Real",
"symbol_native": "R$",
"decimal_digits": 2,
"rounding": 0,
"code": "BRL",
"name_plural": "Brazilian reals"
},
"BWP": {
"symbol": "BWP",
"name": "Botswanan Pula",
"symbol_native": "P",
"decimal_digits": 2,
"rounding": 0,
"code": "BWP",
"name_plural": "Botswanan pulas"
},
"BYR": {
"symbol": "BYR",
"name": "Belarusian Ruble",
"symbol_native": "BYR",
"decimal_digits": 0,
"rounding": 0,
"code": "BYR",
"name_plural": "Belarusian rubles"
},
"BZD": {
"symbol": "BZ$",
"name": "Belize Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "BZD",
"name_plural": "Belize dollars"
},
"CDF": {
"symbol": "CDF",
"name": "Congolese Franc",
"symbol_native": "FrCD",
"decimal_digits": 2,
"rounding": 0,
"code": "CDF",
"name_plural": "Congolese francs"
},
"CHF": {
"symbol": "CHF",
"name": "Swiss Franc",
"symbol_native": "CHF",
"decimal_digits": 2,
"rounding": 0.05,
"code": "CHF",
"name_plural": "Swiss francs"
},
"CLP": {
"symbol": "CL$",
"name": "Chilean Peso",
"symbol_native": "$",
"decimal_digits": 0,
"rounding": 0,
"code": "CLP",
"name_plural": "Chilean pesos"
},
"CNY": {
"symbol": "CN¥",
"name": "Chinese Yuan",
"symbol_native": "CN¥",
"decimal_digits": 2,
"rounding": 0,
"code": "CNY",
"name_plural": "Chinese yuan"
},
"COP": {
"symbol": "CO$",
"name": "Colombian Peso",
"symbol_native": "$",
"decimal_digits": 0,
"rounding": 0,
"code": "COP",
"name_plural": "Colombian pesos"
},
"CRC": {
"symbol": "",
"name": "Costa Rican Colón",
"symbol_native": "",
"decimal_digits": 0,
"rounding": 0,
"code": "CRC",
"name_plural": "Costa Rican colóns"
},
"CVE": {
"symbol": "CV$",
"name": "Cape Verdean Escudo",
"symbol_native": "CV$",
"decimal_digits": 2,
"rounding": 0,
"code": "CVE",
"name_plural": "Cape Verdean escudos"
},
"CZK": {
"symbol": "",
"name": "Czech Republic Koruna",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "CZK",
"name_plural": "Czech Republic korunas"
},
"DJF": {
"symbol": "Fdj",
"name": "Djiboutian Franc",
"symbol_native": "Fdj",
"decimal_digits": 0,
"rounding": 0,
"code": "DJF",
"name_plural": "Djiboutian francs"
},
"DKK": {
"symbol": "Dkr",
"name": "Danish Krone",
"symbol_native": "kr",
"decimal_digits": 2,
"rounding": 0,
"code": "DKK",
"name_plural": "Danish kroner"
},
"DOP": {
"symbol": "RD$",
"name": "Dominican Peso",
"symbol_native": "RD$",
"decimal_digits": 2,
"rounding": 0,
"code": "DOP",
"name_plural": "Dominican pesos"
},
"DZD": {
"symbol": "DA",
"name": "Algerian Dinar",
"symbol_native": "د.ج.‏",
"decimal_digits": 2,
"rounding": 0,
"code": "DZD",
"name_plural": "Algerian dinars"
},
"EEK": {
"symbol": "Ekr",
"name": "Estonian Kroon",
"symbol_native": "kr",
"decimal_digits": 2,
"rounding": 0,
"code": "EEK",
"name_plural": "Estonian kroons"
},
"EGP": {
"symbol": "EGP",
"name": "Egyptian Pound",
"symbol_native": "ج.م.‏",
"decimal_digits": 2,
"rounding": 0,
"code": "EGP",
"name_plural": "Egyptian pounds"
},
"ERN": {
"symbol": "Nfk",
"name": "Eritrean Nakfa",
"symbol_native": "Nfk",
"decimal_digits": 2,
"rounding": 0,
"code": "ERN",
"name_plural": "Eritrean nakfas"
},
"ETB": {
"symbol": "Br",
"name": "Ethiopian Birr",
"symbol_native": "Br",
"decimal_digits": 2,
"rounding": 0,
"code": "ETB",
"name_plural": "Ethiopian birrs"
},
"GBP": {
"symbol": "£",
"name": "British Pound Sterling",
"symbol_native": "£",
"decimal_digits": 2,
"rounding": 0,
"code": "GBP",
"name_plural": "British pounds sterling"
},
"GEL": {
"symbol": "GEL",
"name": "Georgian Lari",
"symbol_native": "GEL",
"decimal_digits": 2,
"rounding": 0,
"code": "GEL",
"name_plural": "Georgian laris"
},
"GHS": {
"symbol": "GH₵",
"name": "Ghanaian Cedi",
"symbol_native": "GH₵",
"decimal_digits": 2,
"rounding": 0,
"code": "GHS",
"name_plural": "Ghanaian cedis"
},
"GNF": {
"symbol": "FG",
"name": "Guinean Franc",
"symbol_native": "FG",
"decimal_digits": 0,
"rounding": 0,
"code": "GNF",
"name_plural": "Guinean francs"
},
"GTQ": {
"symbol": "GTQ",
"name": "Guatemalan Quetzal",
"symbol_native": "Q",
"decimal_digits": 2,
"rounding": 0,
"code": "GTQ",
"name_plural": "Guatemalan quetzals"
},
"HKD": {
"symbol": "HK$",
"name": "Hong Kong Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "HKD",
"name_plural": "Hong Kong dollars"
},
"HNL": {
"symbol": "HNL",
"name": "Honduran Lempira",
"symbol_native": "L",
"decimal_digits": 2,
"rounding": 0,
"code": "HNL",
"name_plural": "Honduran lempiras"
},
"HRK": {
"symbol": "kn",
"name": "Croatian Kuna",
"symbol_native": "kn",
"decimal_digits": 2,
"rounding": 0,
"code": "HRK",
"name_plural": "Croatian kunas"
},
"HUF": {
"symbol": "Ft",
"name": "Hungarian Forint",
"symbol_native": "Ft",
"decimal_digits": 0,
"rounding": 0,
"code": "HUF",
"name_plural": "Hungarian forints"
},
"IDR": {
"symbol": "Rp",
"name": "Indonesian Rupiah",
"symbol_native": "Rp",
"decimal_digits": 0,
"rounding": 0,
"code": "IDR",
"name_plural": "Indonesian rupiahs"
},
"ILS": {
"symbol": "",
"name": "Israeli New Sheqel",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "ILS",
"name_plural": "Israeli new sheqels"
},
"INR": {
"symbol": "Rs",
"name": "Indian Rupee",
"symbol_native": "টকা",
"decimal_digits": 2,
"rounding": 0,
"code": "INR",
"name_plural": "Indian rupees"
},
"IQD": {
"symbol": "IQD",
"name": "Iraqi Dinar",
"symbol_native": "د.ع.‏",
"decimal_digits": 0,
"rounding": 0,
"code": "IQD",
"name_plural": "Iraqi dinars"
},
"IRR": {
"symbol": "IRR",
"name": "Iranian Rial",
"symbol_native": "",
"decimal_digits": 0,
"rounding": 0,
"code": "IRR",
"name_plural": "Iranian rials"
},
"ISK": {
"symbol": "Ikr",
"name": "Icelandic Króna",
"symbol_native": "kr",
"decimal_digits": 0,
"rounding": 0,
"code": "ISK",
"name_plural": "Icelandic krónur"
},
"JMD": {
"symbol": "J$",
"name": "Jamaican Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "JMD",
"name_plural": "Jamaican dollars"
},
"JOD": {
"symbol": "JD",
"name": "Jordanian Dinar",
"symbol_native": "د.أ.‏",
"decimal_digits": 3,
"rounding": 0,
"code": "JOD",
"name_plural": "Jordanian dinars"
},
"JPY": {
"symbol": "¥",
"name": "Japanese Yen",
"symbol_native": "",
"decimal_digits": 0,
"rounding": 0,
"code": "JPY",
"name_plural": "Japanese yen"
},
"KES": {
"symbol": "Ksh",
"name": "Kenyan Shilling",
"symbol_native": "Ksh",
"decimal_digits": 2,
"rounding": 0,
"code": "KES",
"name_plural": "Kenyan shillings"
},
"KHR": {
"symbol": "KHR",
"name": "Cambodian Riel",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "KHR",
"name_plural": "Cambodian riels"
},
"KMF": {
"symbol": "CF",
"name": "Comorian Franc",
"symbol_native": "FC",
"decimal_digits": 0,
"rounding": 0,
"code": "KMF",
"name_plural": "Comorian francs"
},
"KRW": {
"symbol": "",
"name": "South Korean Won",
"symbol_native": "",
"decimal_digits": 0,
"rounding": 0,
"code": "KRW",
"name_plural": "South Korean won"
},
"KWD": {
"symbol": "KD",
"name": "Kuwaiti Dinar",
"symbol_native": "د.ك.‏",
"decimal_digits": 3,
"rounding": 0,
"code": "KWD",
"name_plural": "Kuwaiti dinars"
},
"KZT": {
"symbol": "KZT",
"name": "Kazakhstani Tenge",
"symbol_native": "тңг.",
"decimal_digits": 2,
"rounding": 0,
"code": "KZT",
"name_plural": "Kazakhstani tenges"
},
"LBP": {
"symbol": "LB£",
"name": "Lebanese Pound",
"symbol_native": "ل.ل.‏",
"decimal_digits": 0,
"rounding": 0,
"code": "LBP",
"name_plural": "Lebanese pounds"
},
"LKR": {
"symbol": "SLRs",
"name": "Sri Lankan Rupee",
"symbol_native": "SL Re",
"decimal_digits": 2,
"rounding": 0,
"code": "LKR",
"name_plural": "Sri Lankan rupees"
},
"LTL": {
"symbol": "Lt",
"name": "Lithuanian Litas",
"symbol_native": "Lt",
"decimal_digits": 2,
"rounding": 0,
"code": "LTL",
"name_plural": "Lithuanian litai"
},
"LVL": {
"symbol": "Ls",
"name": "Latvian Lats",
"symbol_native": "Ls",
"decimal_digits": 2,
"rounding": 0,
"code": "LVL",
"name_plural": "Latvian lati"
},
"LYD": {
"symbol": "LD",
"name": "Libyan Dinar",
"symbol_native": "د.ل.‏",
"decimal_digits": 3,
"rounding": 0,
"code": "LYD",
"name_plural": "Libyan dinars"
},
"MAD": {
"symbol": "MAD",
"name": "Moroccan Dirham",
"symbol_native": "د.م.‏",
"decimal_digits": 2,
"rounding": 0,
"code": "MAD",
"name_plural": "Moroccan dirhams"
},
"MDL": {
"symbol": "MDL",
"name": "Moldovan Leu",
"symbol_native": "MDL",
"decimal_digits": 2,
"rounding": 0,
"code": "MDL",
"name_plural": "Moldovan lei"
},
"MGA": {
"symbol": "MGA",
"name": "Malagasy Ariary",
"symbol_native": "MGA",
"decimal_digits": 0,
"rounding": 0,
"code": "MGA",
"name_plural": "Malagasy Ariaries"
},
"MKD": {
"symbol": "MKD",
"name": "Macedonian Denar",
"symbol_native": "MKD",
"decimal_digits": 2,
"rounding": 0,
"code": "MKD",
"name_plural": "Macedonian denari"
},
"MMK": {
"symbol": "MMK",
"name": "Myanma Kyat",
"symbol_native": "K",
"decimal_digits": 0,
"rounding": 0,
"code": "MMK",
"name_plural": "Myanma kyats"
},
"MOP": {
"symbol": "MOP$",
"name": "Macanese Pataca",
"symbol_native": "MOP$",
"decimal_digits": 2,
"rounding": 0,
"code": "MOP",
"name_plural": "Macanese patacas"
},
"MUR": {
"symbol": "MURs",
"name": "Mauritian Rupee",
"symbol_native": "MURs",
"decimal_digits": 0,
"rounding": 0,
"code": "MUR",
"name_plural": "Mauritian rupees"
},
"MXN": {
"symbol": "MX$",
"name": "Mexican Peso",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "MXN",
"name_plural": "Mexican pesos"
},
"MYR": {
"symbol": "RM",
"name": "Malaysian Ringgit",
"symbol_native": "RM",
"decimal_digits": 2,
"rounding": 0,
"code": "MYR",
"name_plural": "Malaysian ringgits"
},
"MZN": {
"symbol": "MTn",
"name": "Mozambican Metical",
"symbol_native": "MTn",
"decimal_digits": 2,
"rounding": 0,
"code": "MZN",
"name_plural": "Mozambican meticals"
},
"NAD": {
"symbol": "N$",
"name": "Namibian Dollar",
"symbol_native": "N$",
"decimal_digits": 2,
"rounding": 0,
"code": "NAD",
"name_plural": "Namibian dollars"
},
"NGN": {
"symbol": "",
"name": "Nigerian Naira",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "NGN",
"name_plural": "Nigerian nairas"
},
"NIO": {
"symbol": "C$",
"name": "Nicaraguan Córdoba",
"symbol_native": "C$",
"decimal_digits": 2,
"rounding": 0,
"code": "NIO",
"name_plural": "Nicaraguan córdobas"
},
"NOK": {
"symbol": "Nkr",
"name": "Norwegian Krone",
"symbol_native": "kr",
"decimal_digits": 2,
"rounding": 0,
"code": "NOK",
"name_plural": "Norwegian kroner"
},
"NPR": {
"symbol": "NPRs",
"name": "Nepalese Rupee",
"symbol_native": "नेरू",
"decimal_digits": 2,
"rounding": 0,
"code": "NPR",
"name_plural": "Nepalese rupees"
},
"NZD": {
"symbol": "NZ$",
"name": "New Zealand Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "NZD",
"name_plural": "New Zealand dollars"
},
"OMR": {
"symbol": "OMR",
"name": "Omani Rial",
"symbol_native": "ر.ع.‏",
"decimal_digits": 3,
"rounding": 0,
"code": "OMR",
"name_plural": "Omani rials"
},
"PAB": {
"symbol": "B/.",
"name": "Panamanian Balboa",
"symbol_native": "B/.",
"decimal_digits": 2,
"rounding": 0,
"code": "PAB",
"name_plural": "Panamanian balboas"
},
"PEN": {
"symbol": "S/.",
"name": "Peruvian Nuevo Sol",
"symbol_native": "S/.",
"decimal_digits": 2,
"rounding": 0,
"code": "PEN",
"name_plural": "Peruvian nuevos soles"
},
"PHP": {
"symbol": "",
"name": "Philippine Peso",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "PHP",
"name_plural": "Philippine pesos"
},
"PKR": {
"symbol": "PKRs",
"name": "Pakistani Rupee",
"symbol_native": "",
"decimal_digits": 0,
"rounding": 0,
"code": "PKR",
"name_plural": "Pakistani rupees"
},
"PLN": {
"symbol": "",
"name": "Polish Zloty",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "PLN",
"name_plural": "Polish zlotys"
},
"PYG": {
"symbol": "",
"name": "Paraguayan Guarani",
"symbol_native": "",
"decimal_digits": 0,
"rounding": 0,
"code": "PYG",
"name_plural": "Paraguayan guaranis"
},
"QAR": {
"symbol": "QR",
"name": "Qatari Rial",
"symbol_native": "ر.ق.‏",
"decimal_digits": 2,
"rounding": 0,
"code": "QAR",
"name_plural": "Qatari rials"
},
"RON": {
"symbol": "RON",
"name": "Romanian Leu",
"symbol_native": "RON",
"decimal_digits": 2,
"rounding": 0,
"code": "RON",
"name_plural": "Romanian lei"
},
"RSD": {
"symbol": "din.",
"name": "Serbian Dinar",
"symbol_native": "дин.",
"decimal_digits": 0,
"rounding": 0,
"code": "RSD",
"name_plural": "Serbian dinars"
},
"RUB": {
"symbol": "RUB",
"name": "Russian Ruble",
"symbol_native": "руб.",
"decimal_digits": 2,
"rounding": 0,
"code": "RUB",
"name_plural": "Russian rubles"
},
"RWF": {
"symbol": "RWF",
"name": "Rwandan Franc",
"symbol_native": "FR",
"decimal_digits": 0,
"rounding": 0,
"code": "RWF",
"name_plural": "Rwandan francs"
},
"SAR": {
"symbol": "SR",
"name": "Saudi Riyal",
"symbol_native": "ر.س.‏",
"decimal_digits": 2,
"rounding": 0,
"code": "SAR",
"name_plural": "Saudi riyals"
},
"SDG": {
"symbol": "SDG",
"name": "Sudanese Pound",
"symbol_native": "SDG",
"decimal_digits": 2,
"rounding": 0,
"code": "SDG",
"name_plural": "Sudanese pounds"
},
"SEK": {
"symbol": "Skr",
"name": "Swedish Krona",
"symbol_native": "kr",
"decimal_digits": 2,
"rounding": 0,
"code": "SEK",
"name_plural": "Swedish kronor"
},
"SGD": {
"symbol": "S$",
"name": "Singapore Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "SGD",
"name_plural": "Singapore dollars"
},
"SOS": {
"symbol": "Ssh",
"name": "Somali Shilling",
"symbol_native": "Ssh",
"decimal_digits": 0,
"rounding": 0,
"code": "SOS",
"name_plural": "Somali shillings"
},
"SYP": {
"symbol": "SY£",
"name": "Syrian Pound",
"symbol_native": "ل.س.‏",
"decimal_digits": 0,
"rounding": 0,
"code": "SYP",
"name_plural": "Syrian pounds"
},
"THB": {
"symbol": "฿",
"name": "Thai Baht",
"symbol_native": "฿",
"decimal_digits": 2,
"rounding": 0,
"code": "THB",
"name_plural": "Thai baht"
},
"TND": {
"symbol": "DT",
"name": "Tunisian Dinar",
"symbol_native": "د.ت.‏",
"decimal_digits": 3,
"rounding": 0,
"code": "TND",
"name_plural": "Tunisian dinars"
},
"TOP": {
"symbol": "T$",
"name": "Tongan Paʻanga",
"symbol_native": "T$",
"decimal_digits": 2,
"rounding": 0,
"code": "TOP",
"name_plural": "Tongan paʻanga"
},
"TRY": {
"symbol": "TL",
"name": "Turkish Lira",
"symbol_native": "TL",
"decimal_digits": 2,
"rounding": 0,
"code": "TRY",
"name_plural": "Turkish Lira"
},
"TTD": {
"symbol": "TT$",
"name": "Trinidad and Tobago Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "TTD",
"name_plural": "Trinidad and Tobago dollars"
},
"TWD": {
"symbol": "NT$",
"name": "New Taiwan Dollar",
"symbol_native": "NT$",
"decimal_digits": 2,
"rounding": 0,
"code": "TWD",
"name_plural": "New Taiwan dollars"
},
"TZS": {
"symbol": "TSh",
"name": "Tanzanian Shilling",
"symbol_native": "TSh",
"decimal_digits": 0,
"rounding": 0,
"code": "TZS",
"name_plural": "Tanzanian shillings"
},
"UAH": {
"symbol": "",
"name": "Ukrainian Hryvnia",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0,
"code": "UAH",
"name_plural": "Ukrainian hryvnias"
},
"UGX": {
"symbol": "USh",
"name": "Ugandan Shilling",
"symbol_native": "USh",
"decimal_digits": 0,
"rounding": 0,
"code": "UGX",
"name_plural": "Ugandan shillings"
},
"UYU": {
"symbol": "$U",
"name": "Uruguayan Peso",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "UYU",
"name_plural": "Uruguayan pesos"
},
"UZS": {
"symbol": "UZS",
"name": "Uzbekistan Som",
"symbol_native": "UZS",
"decimal_digits": 0,
"rounding": 0,
"code": "UZS",
"name_plural": "Uzbekistan som"
},
"VEF": {
"symbol": "Bs.F.",
"name": "Venezuelan Bolívar",
"symbol_native": "Bs.F.",
"decimal_digits": 2,
"rounding": 0,
"code": "VEF",
"name_plural": "Venezuelan bolívars"
},
"VND": {
"symbol": "",
"name": "Vietnamese Dong",
"symbol_native": "",
"decimal_digits": 0,
"rounding": 0,
"code": "VND",
"name_plural": "Vietnamese dong"
},
"XAF": {
"symbol": "FCFA",
"name": "CFA Franc BEAC",
"symbol_native": "FCFA",
"decimal_digits": 0,
"rounding": 0,
"code": "XAF",
"name_plural": "CFA francs BEAC"
},
"XOF": {
"symbol": "CFA",
"name": "CFA Franc BCEAO",
"symbol_native": "CFA",
"decimal_digits": 0,
"rounding": 0,
"code": "XOF",
"name_plural": "CFA francs BCEAO"
},
"YER": {
"symbol": "YR",
"name": "Yemeni Rial",
"symbol_native": "ر.ي.‏",
"decimal_digits": 0,
"rounding": 0,
"code": "YER",
"name_plural": "Yemeni rials"
},
"ZAR": {
"symbol": "R",
"name": "South African Rand",
"symbol_native": "R",
"decimal_digits": 2,
"rounding": 0,
"code": "ZAR",
"name_plural": "South African rand"
},
"ZMK": {
"symbol": "ZK",
"name": "Zambian Kwacha",
"symbol_native": "ZK",
"decimal_digits": 0,
"rounding": 0,
"code": "ZMK",
"name_plural": "Zambian kwachas"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.