money 6.5.1 → 6.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +209 -5
  3. data/LICENSE +18 -16
  4. data/README.md +321 -70
  5. data/config/currency_backwards_compatible.json +65 -0
  6. data/config/currency_iso.json +280 -94
  7. data/config/currency_non_iso.json +101 -3
  8. data/lib/money/bank/base.rb +1 -3
  9. data/lib/money/bank/variable_exchange.rb +88 -96
  10. data/lib/money/currency/heuristics.rb +1 -143
  11. data/lib/money/currency/loader.rb +15 -13
  12. data/lib/money/currency.rb +98 -81
  13. data/lib/money/locale_backend/base.rb +7 -0
  14. data/lib/money/locale_backend/currency.rb +11 -0
  15. data/lib/money/locale_backend/errors.rb +6 -0
  16. data/lib/money/locale_backend/i18n.rb +25 -0
  17. data/lib/money/locale_backend/legacy.rb +28 -0
  18. data/lib/money/money/allocation.rb +46 -0
  19. data/lib/money/money/arithmetic.rb +97 -52
  20. data/lib/money/money/constructors.rb +5 -6
  21. data/lib/money/money/formatter.rb +399 -0
  22. data/lib/money/money/formatting_rules.rb +142 -0
  23. data/lib/money/money/locale_backend.rb +22 -0
  24. data/lib/money/money.rb +268 -194
  25. data/lib/money/rates_store/memory.rb +120 -0
  26. data/lib/money/version.rb +1 -1
  27. data/money.gemspec +15 -20
  28. metadata +36 -59
  29. data/.coveralls.yml +0 -1
  30. data/.gitignore +0 -22
  31. data/.travis.yml +0 -13
  32. data/AUTHORS +0 -116
  33. data/CONTRIBUTING.md +0 -17
  34. data/Gemfile +0 -7
  35. data/Rakefile +0 -17
  36. data/lib/money/money/formatting.rb +0 -386
  37. data/spec/bank/base_spec.rb +0 -77
  38. data/spec/bank/single_currency_spec.rb +0 -11
  39. data/spec/bank/variable_exchange_spec.rb +0 -275
  40. data/spec/currency/heuristics_spec.rb +0 -84
  41. data/spec/currency_spec.rb +0 -321
  42. data/spec/money/arithmetic_spec.rb +0 -568
  43. data/spec/money/constructors_spec.rb +0 -75
  44. data/spec/money/formatting_spec.rb +0 -667
  45. data/spec/money_spec.rb +0 -745
  46. data/spec/spec_helper.rb +0 -23
@@ -7,7 +7,8 @@
7
7
  "alternate_symbols": ["DH", "Dhs"],
8
8
  "subunit": "Fils",
9
9
  "subunit_to_unit": 100,
10
- "symbol_first": true,
10
+ "symbol_first": false,
11
+ "format": "%n %u",
11
12
  "html_entity": "",
12
13
  "decimal_mark": ".",
13
14
  "thousands_separator": ",",
@@ -23,6 +24,7 @@
23
24
  "subunit": "Pul",
24
25
  "subunit_to_unit": 100,
25
26
  "symbol_first": false,
27
+ "format": "%n %u",
26
28
  "html_entity": "",
27
29
  "decimal_mark": ".",
28
30
  "thousands_separator": ",",
@@ -39,6 +41,7 @@
39
41
  "subunit": "Qintar",
40
42
  "subunit_to_unit": 100,
41
43
  "symbol_first": false,
44
+ "format": "%n %u",
42
45
  "html_entity": "",
43
46
  "decimal_mark": ".",
44
47
  "thousands_separator": ",",
@@ -54,6 +57,7 @@
54
57
  "subunit": "Luma",
55
58
  "subunit_to_unit": 100,
56
59
  "symbol_first": false,
60
+ "format": "%n %u",
57
61
  "html_entity": "",
58
62
  "decimal_mark": ".",
59
63
  "thousands_separator": ",",
@@ -84,6 +88,7 @@
84
88
  "subunit": "Cêntimo",
85
89
  "subunit_to_unit": 100,
86
90
  "symbol_first": false,
91
+ "format": "%n %u",
87
92
  "html_entity": "",
88
93
  "decimal_mark": ".",
89
94
  "thousands_separator": ",",
@@ -100,7 +105,7 @@
100
105
  "subunit": "Centavo",
101
106
  "subunit_to_unit": 100,
102
107
  "symbol_first": true,
103
- "html_entity": "₱",
108
+ "html_entity": "$",
104
109
  "decimal_mark": ",",
105
110
  "thousands_separator": ".",
106
111
  "iso_numeric": "032",
@@ -131,6 +136,7 @@
131
136
  "subunit": "Cent",
132
137
  "subunit_to_unit": 100,
133
138
  "symbol_first": false,
139
+ "format": "%n %u",
134
140
  "html_entity": "ƒ",
135
141
  "decimal_mark": ".",
136
142
  "thousands_separator": ",",
@@ -176,7 +182,7 @@
176
182
  "alternate_symbols": ["Bds$"],
177
183
  "subunit": "Cent",
178
184
  "subunit_to_unit": 100,
179
- "symbol_first": false,
185
+ "symbol_first": true,
180
186
  "html_entity": "$",
181
187
  "decimal_mark": ".",
182
188
  "thousands_separator": ",",
@@ -202,11 +208,12 @@
202
208
  "priority": 100,
203
209
  "iso_code": "BGN",
204
210
  "name": "Bulgarian Lev",
205
- "symbol": "лв",
211
+ "symbol": "лв.",
206
212
  "alternate_symbols": ["lev", "leva", "лев", "лева"],
207
213
  "subunit": "Stotinka",
208
214
  "subunit_to_unit": 100,
209
215
  "symbol_first": false,
216
+ "format": "%n %u",
210
217
  "html_entity": "",
211
218
  "decimal_mark": ".",
212
219
  "thousands_separator": ",",
@@ -217,7 +224,7 @@
217
224
  "priority": 100,
218
225
  "iso_code": "BHD",
219
226
  "name": "Bahraini Dinar",
220
- "symbol": "ب.د",
227
+ "symbol": "د.ب",
221
228
  "alternate_symbols": ["BD"],
222
229
  "subunit": "Fils",
223
230
  "subunit_to_unit": 1000,
@@ -236,8 +243,9 @@
236
243
  "disambiguate_symbol": "FBu",
237
244
  "alternate_symbols": ["FBu"],
238
245
  "subunit": "Centime",
239
- "subunit_to_unit": 100,
246
+ "subunit_to_unit": 1,
240
247
  "symbol_first": false,
248
+ "format": "%n %u",
241
249
  "html_entity": "",
242
250
  "decimal_mark": ".",
243
251
  "thousands_separator": ",",
@@ -330,6 +338,7 @@
330
338
  "subunit": "Chertrum",
331
339
  "subunit_to_unit": 100,
332
340
  "symbol_first": false,
341
+ "format": "%n %u",
333
342
  "html_entity": "",
334
343
  "decimal_mark": ".",
335
344
  "thousands_separator": ",",
@@ -351,8 +360,25 @@
351
360
  "iso_numeric": "072",
352
361
  "smallest_denomination": 5
353
362
  },
354
- "byr": {
363
+ "byn": {
355
364
  "priority": 100,
365
+ "iso_code": "BYN",
366
+ "name": "Belarusian Ruble",
367
+ "symbol": "Br",
368
+ "disambiguate_symbol": "BYN",
369
+ "alternate_symbols": ["бел. руб.", "б.р.", "руб.", "р."],
370
+ "subunit": "Kapeyka",
371
+ "subunit_to_unit": 100,
372
+ "symbol_first": false,
373
+ "format": "%n %u",
374
+ "html_entity": "",
375
+ "decimal_mark": ",",
376
+ "thousands_separator": " ",
377
+ "iso_numeric": "933",
378
+ "smallest_denomination": 1
379
+ },
380
+ "byr": {
381
+ "priority": 50,
356
382
  "iso_code": "BYR",
357
383
  "name": "Belarusian Ruble",
358
384
  "symbol": "Br",
@@ -361,11 +387,12 @@
361
387
  "subunit": null,
362
388
  "subunit_to_unit": 1,
363
389
  "symbol_first": false,
390
+ "format": "%n %u",
364
391
  "html_entity": "",
365
392
  "decimal_mark": ",",
366
393
  "thousands_separator": " ",
367
394
  "iso_numeric": "974",
368
- "smallest_denomination": 50
395
+ "smallest_denomination": 100
369
396
  },
370
397
  "bzd": {
371
398
  "priority": 100,
@@ -409,6 +436,7 @@
409
436
  "subunit": "Centime",
410
437
  "subunit_to_unit": 100,
411
438
  "symbol_first": false,
439
+ "format": "%n %u",
412
440
  "html_entity": "",
413
441
  "decimal_mark": ".",
414
442
  "thousands_separator": ",",
@@ -419,11 +447,12 @@
419
447
  "priority": 100,
420
448
  "iso_code": "CHF",
421
449
  "name": "Swiss Franc",
422
- "symbol": "Fr",
423
- "alternate_symbols": ["SFr", "CHF"],
450
+ "symbol": "CHF",
451
+ "alternate_symbols": ["SFr", "Fr"],
424
452
  "subunit": "Rappen",
425
453
  "subunit_to_unit": 100,
426
454
  "symbol_first": true,
455
+ "format": "%u%n",
427
456
  "html_entity": "",
428
457
  "decimal_mark": ".",
429
458
  "thousands_separator": ",",
@@ -437,7 +466,7 @@
437
466
  "symbol": "UF",
438
467
  "alternate_symbols": [],
439
468
  "subunit": "Peso",
440
- "subunit_to_unit": 1,
469
+ "subunit_to_unit": 10000,
441
470
  "symbol_first": true,
442
471
  "html_entity": "₱",
443
472
  "decimal_mark": ",",
@@ -452,7 +481,7 @@
452
481
  "disambiguate_symbol": "CLP",
453
482
  "alternate_symbols": [],
454
483
  "subunit": "Peso",
455
- "subunit_to_unit": 100,
484
+ "subunit_to_unit": 1,
456
485
  "symbol_first": true,
457
486
  "html_entity": "$",
458
487
  "decimal_mark": ",",
@@ -485,7 +514,7 @@
485
514
  "subunit": "Centavo",
486
515
  "subunit_to_unit": 100,
487
516
  "symbol_first": true,
488
- "html_entity": "₱",
517
+ "html_entity": "$",
489
518
  "decimal_mark": ",",
490
519
  "thousands_separator": ".",
491
520
  "iso_numeric": "170",
@@ -516,6 +545,7 @@
516
545
  "subunit": "Centavo",
517
546
  "subunit_to_unit": 100,
518
547
  "symbol_first": false,
548
+ "format": "%n %u",
519
549
  "html_entity": "",
520
550
  "decimal_mark": ".",
521
551
  "thousands_separator": ",",
@@ -548,6 +578,7 @@
548
578
  "subunit": "Centavo",
549
579
  "subunit_to_unit": 100,
550
580
  "symbol_first": false,
581
+ "format": "%n %u",
551
582
  "html_entity": "",
552
583
  "decimal_mark": ".",
553
584
  "thousands_separator": ",",
@@ -563,9 +594,10 @@
563
594
  "subunit": "Haléř",
564
595
  "subunit_to_unit": 100,
565
596
  "symbol_first": false,
597
+ "format": "%n %u",
566
598
  "html_entity": "",
567
599
  "decimal_mark": ",",
568
- "thousands_separator": ".",
600
+ "thousands_separator": " ",
569
601
  "iso_numeric": "203",
570
602
  "smallest_denomination": 100
571
603
  },
@@ -576,8 +608,9 @@
576
608
  "symbol": "Fdj",
577
609
  "alternate_symbols": [],
578
610
  "subunit": "Centime",
579
- "subunit_to_unit": 100,
611
+ "subunit_to_unit": 1,
580
612
  "symbol_first": false,
613
+ "format": "%n %u",
581
614
  "html_entity": "",
582
615
  "decimal_mark": ".",
583
616
  "thousands_separator": ",",
@@ -588,12 +621,13 @@
588
621
  "priority": 100,
589
622
  "iso_code": "DKK",
590
623
  "name": "Danish Krone",
591
- "symbol": "kr",
624
+ "symbol": "kr.",
592
625
  "disambiguate_symbol": "DKK",
593
626
  "alternate_symbols": [",-"],
594
627
  "subunit": "Øre",
595
628
  "subunit_to_unit": 100,
596
629
  "symbol_first": false,
630
+ "format": "%n %u",
597
631
  "html_entity": "",
598
632
  "decimal_mark": ",",
599
633
  "thousands_separator": ".",
@@ -625,6 +659,7 @@
625
659
  "subunit": "Centime",
626
660
  "subunit_to_unit": 100,
627
661
  "symbol_first": false,
662
+ "format": "%n %u",
628
663
  "html_entity": "",
629
664
  "decimal_mark": ".",
630
665
  "thousands_separator": ",",
@@ -655,6 +690,7 @@
655
690
  "subunit": "Cent",
656
691
  "subunit_to_unit": 100,
657
692
  "symbol_first": false,
693
+ "format": "%n %u",
658
694
  "html_entity": "",
659
695
  "decimal_mark": ".",
660
696
  "thousands_separator": ",",
@@ -671,6 +707,7 @@
671
707
  "subunit": "Santim",
672
708
  "subunit_to_unit": 100,
673
709
  "symbol_first": false,
710
+ "format": "%n %u",
674
711
  "html_entity": "",
675
712
  "decimal_mark": ".",
676
713
  "thousands_separator": ",",
@@ -702,6 +739,7 @@
702
739
  "subunit": "Cent",
703
740
  "subunit_to_unit": 100,
704
741
  "symbol_first": false,
742
+ "format": "%n %u",
705
743
  "html_entity": "$",
706
744
  "decimal_mark": ".",
707
745
  "thousands_separator": ",",
@@ -718,6 +756,7 @@
718
756
  "subunit": "Penny",
719
757
  "subunit_to_unit": 100,
720
758
  "symbol_first": false,
759
+ "format": "%n %u",
721
760
  "html_entity": "£",
722
761
  "decimal_mark": ".",
723
762
  "thousands_separator": ",",
@@ -748,6 +787,7 @@
748
787
  "subunit": "Tetri",
749
788
  "subunit_to_unit": 100,
750
789
  "symbol_first": false,
790
+ "format": "%n %u",
751
791
  "html_entity": "",
752
792
  "decimal_mark": ".",
753
793
  "thousands_separator": ",",
@@ -794,6 +834,7 @@
794
834
  "subunit": "Butut",
795
835
  "subunit_to_unit": 100,
796
836
  "symbol_first": false,
837
+ "format": "%n %u",
797
838
  "html_entity": "",
798
839
  "decimal_mark": ".",
799
840
  "thousands_separator": ",",
@@ -808,8 +849,9 @@
808
849
  "disambiguate_symbol": "FG",
809
850
  "alternate_symbols": ["FG", "GFr"],
810
851
  "subunit": "Centime",
811
- "subunit_to_unit": 100,
852
+ "subunit_to_unit": 1,
812
853
  "symbol_first": false,
854
+ "format": "%n %u",
813
855
  "html_entity": "",
814
856
  "decimal_mark": ".",
815
857
  "thousands_separator": ",",
@@ -841,6 +883,7 @@
841
883
  "subunit": "Cent",
842
884
  "subunit_to_unit": 100,
843
885
  "symbol_first": false,
886
+ "format": "%n %u",
844
887
  "html_entity": "$",
845
888
  "decimal_mark": ".",
846
889
  "thousands_separator": ",",
@@ -887,7 +930,8 @@
887
930
  "alternate_symbols": [],
888
931
  "subunit": "Lipa",
889
932
  "subunit_to_unit": 100,
890
- "symbol_first": true,
933
+ "symbol_first": false,
934
+ "format": "%n %u",
891
935
  "html_entity": "",
892
936
  "decimal_mark": ",",
893
937
  "thousands_separator": ".",
@@ -903,6 +947,7 @@
903
947
  "subunit": "Centime",
904
948
  "subunit_to_unit": 100,
905
949
  "symbol_first": false,
950
+ "format": "%n %u",
906
951
  "html_entity": "",
907
952
  "decimal_mark": ".",
908
953
  "thousands_separator": ",",
@@ -915,14 +960,15 @@
915
960
  "name": "Hungarian Forint",
916
961
  "symbol": "Ft",
917
962
  "alternate_symbols": [],
918
- "subunit": "Fillér",
919
- "subunit_to_unit": 100,
963
+ "subunit": "",
964
+ "subunit_to_unit": 1,
920
965
  "symbol_first": false,
966
+ "format": "%n %u",
921
967
  "html_entity": "",
922
968
  "decimal_mark": ",",
923
- "thousands_separator": ".",
969
+ "thousands_separator": " ",
924
970
  "iso_numeric": "348",
925
- "smallest_denomination": 500
971
+ "smallest_denomination": 5
926
972
  },
927
973
  "idr": {
928
974
  "priority": 100,
@@ -978,6 +1024,7 @@
978
1024
  "subunit": "Fils",
979
1025
  "subunit_to_unit": 1000,
980
1026
  "symbol_first": false,
1027
+ "format": "%n %u",
981
1028
  "html_entity": "",
982
1029
  "decimal_mark": ".",
983
1030
  "thousands_separator": ",",
@@ -990,7 +1037,7 @@
990
1037
  "name": "Iranian Rial",
991
1038
  "symbol": "﷼",
992
1039
  "alternate_symbols": [],
993
- "subunit": "Dinar",
1040
+ "subunit": null,
994
1041
  "subunit_to_unit": 100,
995
1042
  "symbol_first": true,
996
1043
  "html_entity": "﷼",
@@ -1003,11 +1050,12 @@
1003
1050
  "priority": 100,
1004
1051
  "iso_code": "ISK",
1005
1052
  "name": "Icelandic Króna",
1006
- "symbol": "kr",
1053
+ "symbol": "kr.",
1007
1054
  "alternate_symbols": ["Íkr"],
1008
1055
  "subunit": null,
1009
1056
  "subunit_to_unit": 1,
1010
- "symbol_first": true,
1057
+ "symbol_first": false,
1058
+ "format": "%n %u",
1011
1059
  "html_entity": "",
1012
1060
  "decimal_mark": ",",
1013
1061
  "thousands_separator": ".",
@@ -1036,14 +1084,14 @@
1036
1084
  "name": "Jordanian Dinar",
1037
1085
  "symbol": "د.ا",
1038
1086
  "alternate_symbols": ["JD"],
1039
- "subunit": "Piastre",
1040
- "subunit_to_unit": 100,
1087
+ "subunit": "Fils",
1088
+ "subunit_to_unit": 1000,
1041
1089
  "symbol_first": true,
1042
1090
  "html_entity": "",
1043
1091
  "decimal_mark": ".",
1044
1092
  "thousands_separator": ",",
1045
1093
  "iso_numeric": "400",
1046
- "smallest_denomination": 0.5
1094
+ "smallest_denomination": 5
1047
1095
  },
1048
1096
  "jpy": {
1049
1097
  "priority": 6,
@@ -1084,6 +1132,7 @@
1084
1132
  "subunit": "Tyiyn",
1085
1133
  "subunit_to_unit": 100,
1086
1134
  "symbol_first": false,
1135
+ "format": "%n %u",
1087
1136
  "html_entity": "",
1088
1137
  "decimal_mark": ".",
1089
1138
  "thousands_separator": ",",
@@ -1099,6 +1148,7 @@
1099
1148
  "subunit": "Sen",
1100
1149
  "subunit_to_unit": 100,
1101
1150
  "symbol_first": false,
1151
+ "format": "%n %u",
1102
1152
  "html_entity": "៛",
1103
1153
  "decimal_mark": ".",
1104
1154
  "thousands_separator": ",",
@@ -1113,8 +1163,9 @@
1113
1163
  "disambiguate_symbol": "CF",
1114
1164
  "alternate_symbols": ["CF"],
1115
1165
  "subunit": "Centime",
1116
- "subunit_to_unit": 100,
1166
+ "subunit_to_unit": 1,
1117
1167
  "symbol_first": false,
1168
+ "format": "%n %u",
1118
1169
  "html_entity": "",
1119
1170
  "decimal_mark": ".",
1120
1171
  "thousands_separator": ",",
@@ -1130,6 +1181,7 @@
1130
1181
  "subunit": "Chŏn",
1131
1182
  "subunit_to_unit": 100,
1132
1183
  "symbol_first": false,
1184
+ "format": "%n %u",
1133
1185
  "html_entity": "₩",
1134
1186
  "decimal_mark": ".",
1135
1187
  "thousands_separator": ",",
@@ -1142,7 +1194,7 @@
1142
1194
  "name": "South Korean Won",
1143
1195
  "symbol": "₩",
1144
1196
  "subunit": null,
1145
- "subunit_to_unit": 100,
1197
+ "subunit_to_unit": 1,
1146
1198
  "alternate_symbols": [],
1147
1199
  "symbol_first": true,
1148
1200
  "html_entity": "₩",
@@ -1186,11 +1238,12 @@
1186
1238
  "priority": 100,
1187
1239
  "iso_code": "KZT",
1188
1240
  "name": "Kazakhstani Tenge",
1189
- "symbol": "",
1241
+ "symbol": "",
1190
1242
  "alternate_symbols": [],
1191
1243
  "subunit": "Tiyn",
1192
1244
  "subunit_to_unit": 100,
1193
1245
  "symbol_first": false,
1246
+ "format": "%n %u",
1194
1247
  "html_entity": "",
1195
1248
  "decimal_mark": ".",
1196
1249
  "thousands_separator": ",",
@@ -1206,6 +1259,7 @@
1206
1259
  "subunit": "Att",
1207
1260
  "subunit_to_unit": 100,
1208
1261
  "symbol_first": false,
1262
+ "format": "%n %u",
1209
1263
  "html_entity": "₭",
1210
1264
  "decimal_mark": ".",
1211
1265
  "thousands_separator": ",",
@@ -1237,7 +1291,8 @@
1237
1291
  "subunit": "Cent",
1238
1292
  "subunit_to_unit": 100,
1239
1293
  "symbol_first": false,
1240
- "html_entity": "௹",
1294
+ "format": "%n %u",
1295
+ "html_entity": "₨",
1241
1296
  "decimal_mark": ".",
1242
1297
  "thousands_separator": ",",
1243
1298
  "iso_numeric": "144",
@@ -1253,6 +1308,7 @@
1253
1308
  "subunit": "Cent",
1254
1309
  "subunit_to_unit": 100,
1255
1310
  "symbol_first": false,
1311
+ "format": "%n %u",
1256
1312
  "html_entity": "$",
1257
1313
  "decimal_mark": ".",
1258
1314
  "thousands_separator": ",",
@@ -1269,42 +1325,13 @@
1269
1325
  "subunit": "Sente",
1270
1326
  "subunit_to_unit": 100,
1271
1327
  "symbol_first": false,
1328
+ "format": "%n %u",
1272
1329
  "html_entity": "",
1273
1330
  "decimal_mark": ".",
1274
1331
  "thousands_separator": ",",
1275
1332
  "iso_numeric": "426",
1276
1333
  "smallest_denomination": 1
1277
1334
  },
1278
- "ltl": {
1279
- "priority": 100,
1280
- "iso_code": "LTL",
1281
- "name": "Lithuanian Litas",
1282
- "symbol": "Lt",
1283
- "alternate_symbols": [],
1284
- "subunit": "Centas",
1285
- "subunit_to_unit": 100,
1286
- "symbol_first": false,
1287
- "html_entity": "",
1288
- "decimal_mark": ".",
1289
- "thousands_separator": ",",
1290
- "iso_numeric": "440",
1291
- "smallest_denomination": 1
1292
- },
1293
- "lvl": {
1294
- "priority": 100,
1295
- "iso_code": "LVL",
1296
- "name": "Latvian Lats",
1297
- "symbol": "Ls",
1298
- "alternate_symbols": [],
1299
- "subunit": "Santīms",
1300
- "subunit_to_unit": 100,
1301
- "symbol_first": true,
1302
- "html_entity": "",
1303
- "decimal_mark": ".",
1304
- "thousands_separator": ",",
1305
- "iso_numeric": "428",
1306
- "smallest_denomination": 1
1307
- },
1308
1335
  "lyd": {
1309
1336
  "priority": 100,
1310
1337
  "iso_code": "LYD",
@@ -1314,6 +1341,7 @@
1314
1341
  "subunit": "Dirham",
1315
1342
  "subunit_to_unit": 1000,
1316
1343
  "symbol_first": false,
1344
+ "format": "%n %u",
1317
1345
  "html_entity": "",
1318
1346
  "decimal_mark": ".",
1319
1347
  "thousands_separator": ",",
@@ -1329,6 +1357,7 @@
1329
1357
  "subunit": "Centime",
1330
1358
  "subunit_to_unit": 100,
1331
1359
  "symbol_first": false,
1360
+ "format": "%n %u",
1332
1361
  "html_entity": "",
1333
1362
  "decimal_mark": ".",
1334
1363
  "thousands_separator": ",",
@@ -1344,6 +1373,7 @@
1344
1373
  "subunit": "Ban",
1345
1374
  "subunit_to_unit": 100,
1346
1375
  "symbol_first": false,
1376
+ "format": "%n %u",
1347
1377
  "html_entity": "",
1348
1378
  "decimal_mark": ".",
1349
1379
  "thousands_separator": ",",
@@ -1374,6 +1404,7 @@
1374
1404
  "subunit": "Deni",
1375
1405
  "subunit_to_unit": 100,
1376
1406
  "symbol_first": false,
1407
+ "format": "%n %u",
1377
1408
  "html_entity": "",
1378
1409
  "decimal_mark": ".",
1379
1410
  "thousands_separator": ",",
@@ -1390,6 +1421,7 @@
1390
1421
  "subunit": "Pya",
1391
1422
  "subunit_to_unit": 100,
1392
1423
  "symbol_first": false,
1424
+ "format": "%n %u",
1393
1425
  "html_entity": "",
1394
1426
  "decimal_mark": ".",
1395
1427
  "thousands_separator": ",",
@@ -1405,6 +1437,7 @@
1405
1437
  "subunit": "Möngö",
1406
1438
  "subunit_to_unit": 100,
1407
1439
  "symbol_first": false,
1440
+ "format": "%n %u",
1408
1441
  "html_entity": "₮",
1409
1442
  "decimal_mark": ".",
1410
1443
  "thousands_separator": ",",
@@ -1420,25 +1453,27 @@
1420
1453
  "subunit": "Avo",
1421
1454
  "subunit_to_unit": 100,
1422
1455
  "symbol_first": false,
1456
+ "format": "%n %u",
1423
1457
  "html_entity": "",
1424
1458
  "decimal_mark": ".",
1425
1459
  "thousands_separator": ",",
1426
1460
  "iso_numeric": "446",
1427
1461
  "smallest_denomination": 10
1428
1462
  },
1429
- "mro": {
1463
+ "mru": {
1430
1464
  "priority": 100,
1431
- "iso_code": "MRO",
1465
+ "iso_code": "MRU",
1432
1466
  "name": "Mauritanian Ouguiya",
1433
1467
  "symbol": "UM",
1434
1468
  "alternate_symbols": [],
1435
1469
  "subunit": "Khoums",
1436
1470
  "subunit_to_unit": 5,
1437
1471
  "symbol_first": false,
1472
+ "format": "%n %u",
1438
1473
  "html_entity": "",
1439
1474
  "decimal_mark": ".",
1440
1475
  "thousands_separator": ",",
1441
- "iso_numeric": "478",
1476
+ "iso_numeric": "929",
1442
1477
  "smallest_denomination": 1
1443
1478
  },
1444
1479
  "mur": {
@@ -1465,6 +1500,7 @@
1465
1500
  "subunit": "Laari",
1466
1501
  "subunit_to_unit": 100,
1467
1502
  "symbol_first": false,
1503
+ "format": "%n %u",
1468
1504
  "html_entity": "",
1469
1505
  "decimal_mark": ".",
1470
1506
  "thousands_separator": ",",
@@ -1480,6 +1516,7 @@
1480
1516
  "subunit": "Tambala",
1481
1517
  "subunit_to_unit": 100,
1482
1518
  "symbol_first": false,
1519
+ "format": "%n %u",
1483
1520
  "html_entity": "",
1484
1521
  "decimal_mark": ".",
1485
1522
  "thousands_separator": ",",
@@ -1542,6 +1579,7 @@
1542
1579
  "subunit": "Cent",
1543
1580
  "subunit_to_unit": 100,
1544
1581
  "symbol_first": false,
1582
+ "format": "%n %u",
1545
1583
  "html_entity": "$",
1546
1584
  "decimal_mark": ".",
1547
1585
  "thousands_separator": ",",
@@ -1568,10 +1606,11 @@
1568
1606
  "iso_code": "NIO",
1569
1607
  "name": "Nicaraguan Córdoba",
1570
1608
  "symbol": "C$",
1609
+ "disambiguate_symbol": "NIO$",
1571
1610
  "alternate_symbols": [],
1572
1611
  "subunit": "Centavo",
1573
1612
  "subunit_to_unit": 100,
1574
- "symbol_first": false,
1613
+ "symbol_first": true,
1575
1614
  "html_entity": "",
1576
1615
  "decimal_mark": ".",
1577
1616
  "thousands_separator": ",",
@@ -1588,6 +1627,7 @@
1588
1627
  "subunit": "Øre",
1589
1628
  "subunit_to_unit": 100,
1590
1629
  "symbol_first": false,
1630
+ "format": "%n %u",
1591
1631
  "html_entity": "kr",
1592
1632
  "decimal_mark": ",",
1593
1633
  "thousands_separator": ".",
@@ -1598,9 +1638,9 @@
1598
1638
  "priority": 100,
1599
1639
  "iso_code": "NPR",
1600
1640
  "name": "Nepalese Rupee",
1601
- "symbol": "",
1641
+ "symbol": "Rs.",
1602
1642
  "disambiguate_symbol": "NPR",
1603
- "alternate_symbols": ["Rs", "रू"],
1643
+ "alternate_symbols": ["Rs", "रू", "₨"],
1604
1644
  "subunit": "Paisa",
1605
1645
  "subunit_to_unit": 100,
1606
1646
  "symbol_first": true,
@@ -1649,7 +1689,7 @@
1649
1689
  "alternate_symbols": [],
1650
1690
  "subunit": "Centésimo",
1651
1691
  "subunit_to_unit": 100,
1652
- "symbol_first": false,
1692
+ "symbol_first": true,
1653
1693
  "html_entity": "",
1654
1694
  "decimal_mark": ".",
1655
1695
  "thousands_separator": ",",
@@ -1659,13 +1699,13 @@
1659
1699
  "pen": {
1660
1700
  "priority": 100,
1661
1701
  "iso_code": "PEN",
1662
- "name": "Peruvian Nuevo Sol",
1663
- "symbol": "S/.",
1702
+ "name": "Peruvian Sol",
1703
+ "symbol": "S/",
1664
1704
  "alternate_symbols": [],
1665
1705
  "subunit": "Céntimo",
1666
1706
  "subunit_to_unit": 100,
1667
1707
  "symbol_first": true,
1668
- "html_entity": "S/.",
1708
+ "html_entity": "S/",
1669
1709
  "decimal_mark": ".",
1670
1710
  "thousands_separator": ",",
1671
1711
  "iso_numeric": "604",
@@ -1681,6 +1721,7 @@
1681
1721
  "subunit": "Toea",
1682
1722
  "subunit_to_unit": 100,
1683
1723
  "symbol_first": false,
1724
+ "format": "%n %u",
1684
1725
  "html_entity": "",
1685
1726
  "decimal_mark": ".",
1686
1727
  "thousands_separator": ",",
@@ -1727,6 +1768,7 @@
1727
1768
  "subunit": "Grosz",
1728
1769
  "subunit_to_unit": 100,
1729
1770
  "symbol_first": false,
1771
+ "format": "%n %u",
1730
1772
  "html_entity": "zł",
1731
1773
  "decimal_mark": ",",
1732
1774
  "thousands_separator": " ",
@@ -1740,7 +1782,7 @@
1740
1782
  "symbol": "₲",
1741
1783
  "alternate_symbols": [],
1742
1784
  "subunit": "Céntimo",
1743
- "subunit_to_unit": 100,
1785
+ "subunit_to_unit": 1,
1744
1786
  "symbol_first": true,
1745
1787
  "html_entity": "₲",
1746
1788
  "decimal_mark": ".",
@@ -1757,6 +1799,7 @@
1757
1799
  "subunit": "Dirham",
1758
1800
  "subunit_to_unit": 100,
1759
1801
  "symbol_first": false,
1802
+ "format": "%n %u",
1760
1803
  "html_entity": "﷼",
1761
1804
  "decimal_mark": ".",
1762
1805
  "thousands_separator": ",",
@@ -1771,7 +1814,8 @@
1771
1814
  "alternate_symbols": [],
1772
1815
  "subunit": "Bani",
1773
1816
  "subunit_to_unit": 100,
1774
- "symbol_first": true,
1817
+ "symbol_first": false,
1818
+ "format": "%n %u",
1775
1819
  "html_entity": "",
1776
1820
  "decimal_mark": ",",
1777
1821
  "thousands_separator": ".",
@@ -1802,6 +1846,7 @@
1802
1846
  "subunit": "Kopeck",
1803
1847
  "subunit_to_unit": 100,
1804
1848
  "symbol_first": false,
1849
+ "format": "%n %u",
1805
1850
  "html_entity": "₽",
1806
1851
  "decimal_mark": ",",
1807
1852
  "thousands_separator": ".",
@@ -1815,8 +1860,9 @@
1815
1860
  "symbol": "FRw",
1816
1861
  "alternate_symbols": ["RF", "R₣"],
1817
1862
  "subunit": "Centime",
1818
- "subunit_to_unit": 100,
1863
+ "subunit_to_unit": 1,
1819
1864
  "symbol_first": false,
1865
+ "format": "%n %u",
1820
1866
  "html_entity": "",
1821
1867
  "decimal_mark": ".",
1822
1868
  "thousands_separator": ",",
@@ -1848,6 +1894,7 @@
1848
1894
  "subunit": "Cent",
1849
1895
  "subunit_to_unit": 100,
1850
1896
  "symbol_first": false,
1897
+ "format": "%n %u",
1851
1898
  "html_entity": "$",
1852
1899
  "decimal_mark": ".",
1853
1900
  "thousands_separator": ",",
@@ -1864,6 +1911,7 @@
1864
1911
  "subunit": "Cent",
1865
1912
  "subunit_to_unit": 100,
1866
1913
  "symbol_first": false,
1914
+ "format": "%n %u",
1867
1915
  "html_entity": "₨",
1868
1916
  "decimal_mark": ".",
1869
1917
  "thousands_separator": ",",
@@ -1896,6 +1944,7 @@
1896
1944
  "subunit": "Öre",
1897
1945
  "subunit_to_unit": 100,
1898
1946
  "symbol_first": false,
1947
+ "format": "%n %u",
1899
1948
  "html_entity": "",
1900
1949
  "decimal_mark": ",",
1901
1950
  "thousands_separator": " ",
@@ -1928,6 +1977,7 @@
1928
1977
  "subunit": "Penny",
1929
1978
  "subunit_to_unit": 100,
1930
1979
  "symbol_first": false,
1980
+ "format": "%n %u",
1931
1981
  "html_entity": "£",
1932
1982
  "decimal_mark": ".",
1933
1983
  "thousands_separator": ",",
@@ -1958,6 +2008,7 @@
1958
2008
  "subunit": "Cent",
1959
2009
  "subunit_to_unit": 100,
1960
2010
  "symbol_first": false,
2011
+ "format": "%n %u",
1961
2012
  "html_entity": "",
1962
2013
  "decimal_mark": ".",
1963
2014
  "thousands_separator": ",",
@@ -1973,6 +2024,7 @@
1973
2024
  "subunit": "Cent",
1974
2025
  "subunit_to_unit": 100,
1975
2026
  "symbol_first": false,
2027
+ "format": "%n %u",
1976
2028
  "html_entity": "",
1977
2029
  "decimal_mark": ".",
1978
2030
  "thousands_separator": ",",
@@ -1989,6 +2041,7 @@
1989
2041
  "subunit": "Cent",
1990
2042
  "subunit_to_unit": 100,
1991
2043
  "symbol_first": false,
2044
+ "format": "%n %u",
1992
2045
  "html_entity": "",
1993
2046
  "decimal_mark": ".",
1994
2047
  "thousands_separator": ",",
@@ -2005,6 +2058,7 @@
2005
2058
  "subunit": "piaster",
2006
2059
  "subunit_to_unit": 100,
2007
2060
  "symbol_first": false,
2061
+ "format": "%n %u",
2008
2062
  "html_entity": "£",
2009
2063
  "decimal_mark": ".",
2010
2064
  "thousands_separator": ",",
@@ -2020,6 +2074,7 @@
2020
2074
  "subunit": "Cêntimo",
2021
2075
  "subunit_to_unit": 100,
2022
2076
  "symbol_first": false,
2077
+ "format": "%n %u",
2023
2078
  "html_entity": "",
2024
2079
  "decimal_mark": ".",
2025
2080
  "thousands_separator": ",",
@@ -2050,6 +2105,7 @@
2050
2105
  "subunit": "Piastre",
2051
2106
  "subunit_to_unit": 100,
2052
2107
  "symbol_first": false,
2108
+ "format": "%n %u",
2053
2109
  "html_entity": "£",
2054
2110
  "decimal_mark": ".",
2055
2111
  "thousands_separator": ",",
@@ -2095,6 +2151,7 @@
2095
2151
  "subunit": "Diram",
2096
2152
  "subunit_to_unit": 100,
2097
2153
  "symbol_first": false,
2154
+ "format": "%n %u",
2098
2155
  "html_entity": "",
2099
2156
  "decimal_mark": ".",
2100
2157
  "thousands_separator": ",",
@@ -2110,6 +2167,7 @@
2110
2167
  "subunit": "Tenge",
2111
2168
  "subunit_to_unit": 100,
2112
2169
  "symbol_first": false,
2170
+ "format": "%n %u",
2113
2171
  "html_entity": "",
2114
2172
  "decimal_mark": ".",
2115
2173
  "thousands_separator": ",",
@@ -2125,6 +2183,7 @@
2125
2183
  "subunit": "Millime",
2126
2184
  "subunit_to_unit": 1000,
2127
2185
  "symbol_first": false,
2186
+ "format": "%n %u",
2128
2187
  "html_entity": "",
2129
2188
  "decimal_mark": ".",
2130
2189
  "thousands_separator": ",",
@@ -2171,6 +2230,7 @@
2171
2230
  "subunit": "Cent",
2172
2231
  "subunit_to_unit": 100,
2173
2232
  "symbol_first": false,
2233
+ "format": "%n %u",
2174
2234
  "html_entity": "$",
2175
2235
  "decimal_mark": ".",
2176
2236
  "thousands_separator": ",",
@@ -2217,6 +2277,7 @@
2217
2277
  "subunit": "Kopiyka",
2218
2278
  "subunit_to_unit": 100,
2219
2279
  "symbol_first": false,
2280
+ "format": "%n %u",
2220
2281
  "html_entity": "₴",
2221
2282
  "decimal_mark": ".",
2222
2283
  "thousands_separator": ",",
@@ -2230,8 +2291,9 @@
2230
2291
  "symbol": "USh",
2231
2292
  "alternate_symbols": [],
2232
2293
  "subunit": "Cent",
2233
- "subunit_to_unit": 100,
2294
+ "subunit_to_unit": 1,
2234
2295
  "symbol_first": false,
2296
+ "format": "%n %u",
2235
2297
  "html_entity": "",
2236
2298
  "decimal_mark": ".",
2237
2299
  "thousands_separator": ",",
@@ -2243,6 +2305,7 @@
2243
2305
  "iso_code": "USD",
2244
2306
  "name": "United States Dollar",
2245
2307
  "symbol": "$",
2308
+ "disambiguate_symbol": "US$",
2246
2309
  "alternate_symbols": ["US$"],
2247
2310
  "subunit": "Cent",
2248
2311
  "subunit_to_unit": 100,
@@ -2257,12 +2320,12 @@
2257
2320
  "priority": 100,
2258
2321
  "iso_code": "UYU",
2259
2322
  "name": "Uruguayan Peso",
2260
- "symbol": "$",
2323
+ "symbol": "$U",
2261
2324
  "alternate_symbols": ["$U"],
2262
2325
  "subunit": "Centésimo",
2263
2326
  "subunit_to_unit": 100,
2264
2327
  "symbol_first": true,
2265
- "html_entity": "₱",
2328
+ "html_entity": "$U",
2266
2329
  "decimal_mark": ",",
2267
2330
  "thousands_separator": ".",
2268
2331
  "iso_numeric": "858",
@@ -2271,31 +2334,32 @@
2271
2334
  "uzs": {
2272
2335
  "priority": 100,
2273
2336
  "iso_code": "UZS",
2274
- "name": "Uzbekistani Som",
2275
- "symbol": null,
2276
- "alternate_symbols": [],
2337
+ "name": "Uzbekistan Som",
2338
+ "symbol": "so'm",
2339
+ "alternate_symbols": ["so‘m", "сўм", "сум", "s", "с"],
2277
2340
  "subunit": "Tiyin",
2278
2341
  "subunit_to_unit": 100,
2279
2342
  "symbol_first": false,
2343
+ "format": "%n %u",
2280
2344
  "html_entity": "",
2281
2345
  "decimal_mark": ".",
2282
2346
  "thousands_separator": ",",
2283
2347
  "iso_numeric": "860",
2284
2348
  "smallest_denomination": 100
2285
2349
  },
2286
- "vef": {
2350
+ "ves": {
2287
2351
  "priority": 100,
2288
- "iso_code": "VEF",
2289
- "name": "Venezuelan Bolívar",
2290
- "symbol": "Bs F",
2291
- "alternate_symbols": ["Bs.F", "Bs"],
2352
+ "iso_code": "VES",
2353
+ "name": "Venezuelan Bolívar Soberano",
2354
+ "symbol": "Bs",
2355
+ "alternate_symbols": ["Bs.S"],
2292
2356
  "subunit": "Céntimo",
2293
2357
  "subunit_to_unit": 100,
2294
2358
  "symbol_first": true,
2295
2359
  "html_entity": "",
2296
2360
  "decimal_mark": ",",
2297
2361
  "thousands_separator": ".",
2298
- "iso_numeric": "937",
2362
+ "iso_numeric": "928",
2299
2363
  "smallest_denomination": 1
2300
2364
  },
2301
2365
  "vnd": {
@@ -2306,7 +2370,8 @@
2306
2370
  "alternate_symbols": [],
2307
2371
  "subunit": "Hào",
2308
2372
  "subunit_to_unit": 1,
2309
- "symbol_first": true,
2373
+ "symbol_first": false,
2374
+ "format": "%n %u",
2310
2375
  "html_entity": "₫",
2311
2376
  "decimal_mark": ",",
2312
2377
  "thousands_separator": ".",
@@ -2338,6 +2403,7 @@
2338
2403
  "subunit": "Sene",
2339
2404
  "subunit_to_unit": 100,
2340
2405
  "symbol_first": false,
2406
+ "format": "%n %u",
2341
2407
  "html_entity": "",
2342
2408
  "decimal_mark": ".",
2343
2409
  "thousands_separator": ",",
@@ -2348,12 +2414,13 @@
2348
2414
  "priority": 100,
2349
2415
  "iso_code": "XAF",
2350
2416
  "name": "Central African Cfa Franc",
2351
- "symbol": "Fr",
2417
+ "symbol": "CFA",
2352
2418
  "disambiguate_symbol": "FCFA",
2353
2419
  "alternate_symbols": ["FCFA"],
2354
2420
  "subunit": "Centime",
2355
- "subunit_to_unit": 100,
2421
+ "subunit_to_unit": 1,
2356
2422
  "symbol_first": false,
2423
+ "format": "%n %u",
2357
2424
  "html_entity": "",
2358
2425
  "decimal_mark": ".",
2359
2426
  "thousands_separator": ",",
@@ -2370,6 +2437,7 @@
2370
2437
  "subunit": "oz",
2371
2438
  "subunit_to_unit": 1,
2372
2439
  "symbol_first": false,
2440
+ "format": "%n %u",
2373
2441
  "html_entity": "",
2374
2442
  "decimal_mark": ".",
2375
2443
  "thousands_separator": ",",
@@ -2385,11 +2453,76 @@
2385
2453
  "subunit": "oz",
2386
2454
  "subunit_to_unit": 1,
2387
2455
  "symbol_first": false,
2456
+ "format": "%n %u",
2388
2457
  "html_entity": "",
2389
2458
  "decimal_mark": ".",
2390
2459
  "thousands_separator": ",",
2391
2460
  "iso_numeric": "959"
2392
2461
  },
2462
+ "xba": {
2463
+ "priority": 100,
2464
+ "iso_code": "XBA",
2465
+ "name": "European Composite Unit",
2466
+ "symbol": "",
2467
+ "disambiguate_symbol": "XBA",
2468
+ "alternate_symbols": [],
2469
+ "subunit": "",
2470
+ "subunit_to_unit": 1,
2471
+ "symbol_first": false,
2472
+ "format": "%n %u",
2473
+ "html_entity": "",
2474
+ "decimal_mark": ".",
2475
+ "thousands_separator": ",",
2476
+ "iso_numeric": "955"
2477
+ },
2478
+ "xbb": {
2479
+ "priority": 100,
2480
+ "iso_code": "XBB",
2481
+ "name": "European Monetary Unit",
2482
+ "symbol": "",
2483
+ "disambiguate_symbol": "XBB",
2484
+ "alternate_symbols": [],
2485
+ "subunit": "",
2486
+ "subunit_to_unit": 1,
2487
+ "symbol_first": false,
2488
+ "format": "%n %u",
2489
+ "html_entity": "",
2490
+ "decimal_mark": ".",
2491
+ "thousands_separator": ",",
2492
+ "iso_numeric": "956"
2493
+ },
2494
+ "xbc": {
2495
+ "priority": 100,
2496
+ "iso_code": "XBC",
2497
+ "name": "European Unit of Account 9",
2498
+ "symbol": "",
2499
+ "disambiguate_symbol": "XBC",
2500
+ "alternate_symbols": [],
2501
+ "subunit": "",
2502
+ "subunit_to_unit": 1,
2503
+ "symbol_first": false,
2504
+ "format": "%n %u",
2505
+ "html_entity": "",
2506
+ "decimal_mark": ".",
2507
+ "thousands_separator": ",",
2508
+ "iso_numeric": "957"
2509
+ },
2510
+ "xbd": {
2511
+ "priority": 100,
2512
+ "iso_code": "XBD",
2513
+ "name": "European Unit of Account 17",
2514
+ "symbol": "",
2515
+ "disambiguate_symbol": "XBD",
2516
+ "alternate_symbols": [],
2517
+ "subunit": "",
2518
+ "subunit_to_unit": 1,
2519
+ "symbol_first": false,
2520
+ "format": "%n %u",
2521
+ "html_entity": "",
2522
+ "decimal_mark": ".",
2523
+ "thousands_separator": ",",
2524
+ "iso_numeric": "958"
2525
+ },
2393
2526
  "xcd": {
2394
2527
  "priority": 100,
2395
2528
  "iso_code": "XCD",
@@ -2415,6 +2548,7 @@
2415
2548
  "subunit": "",
2416
2549
  "subunit_to_unit": 1,
2417
2550
  "symbol_first": false,
2551
+ "format": "%n %u",
2418
2552
  "html_entity": "$",
2419
2553
  "decimal_mark": ".",
2420
2554
  "thousands_separator": ",",
@@ -2428,14 +2562,31 @@
2428
2562
  "disambiguate_symbol": "CFA",
2429
2563
  "alternate_symbols": ["CFA"],
2430
2564
  "subunit": "Centime",
2431
- "subunit_to_unit": 100,
2565
+ "subunit_to_unit": 1,
2432
2566
  "symbol_first": false,
2567
+ "format": "%n %u",
2433
2568
  "html_entity": "",
2434
2569
  "decimal_mark": ".",
2435
2570
  "thousands_separator": ",",
2436
2571
  "iso_numeric": "952",
2437
2572
  "smallest_denomination": 100
2438
2573
  },
2574
+ "xpd": {
2575
+ "priority": 100,
2576
+ "iso_code": "XPD",
2577
+ "name": "Palladium",
2578
+ "symbol": "oz t",
2579
+ "disambiguate_symbol": "XPD",
2580
+ "alternate_symbols": [],
2581
+ "subunit": "oz",
2582
+ "subunit_to_unit": 1,
2583
+ "symbol_first": false,
2584
+ "format": "%n %u",
2585
+ "html_entity": "",
2586
+ "decimal_mark": ".",
2587
+ "thousands_separator": ",",
2588
+ "iso_numeric": "964"
2589
+ },
2439
2590
  "xpf": {
2440
2591
  "priority": 100,
2441
2592
  "iso_code": "XPF",
@@ -2443,14 +2594,47 @@
2443
2594
  "symbol": "Fr",
2444
2595
  "alternate_symbols": ["F"],
2445
2596
  "subunit": "Centime",
2446
- "subunit_to_unit": 100,
2597
+ "subunit_to_unit": 1,
2447
2598
  "symbol_first": false,
2599
+ "format": "%n %u",
2448
2600
  "html_entity": "",
2449
2601
  "decimal_mark": ".",
2450
2602
  "thousands_separator": ",",
2451
2603
  "iso_numeric": "953",
2452
2604
  "smallest_denomination": 100
2453
2605
  },
2606
+ "xpt": {
2607
+ "priority": 100,
2608
+ "iso_code": "XPT",
2609
+ "name": "Platinum",
2610
+ "symbol": "oz t",
2611
+ "alternate_symbols": [],
2612
+ "subunit": "",
2613
+ "subunit_to_unit": 1,
2614
+ "symbol_first": false,
2615
+ "format": "%n %u",
2616
+ "html_entity": "",
2617
+ "decimal_mark": ".",
2618
+ "thousands_separator": ",",
2619
+ "iso_numeric": "962",
2620
+ "smallest_denomination": ""
2621
+ },
2622
+ "xts": {
2623
+ "priority": 100,
2624
+ "iso_code": "XTS",
2625
+ "name": "Codes specifically reserved for testing purposes",
2626
+ "symbol": "",
2627
+ "alternate_symbols": [],
2628
+ "subunit": "",
2629
+ "subunit_to_unit": 1,
2630
+ "symbol_first": false,
2631
+ "format": "%n %u",
2632
+ "html_entity": "",
2633
+ "decimal_mark": ".",
2634
+ "thousands_separator": ",",
2635
+ "iso_numeric": "963",
2636
+ "smallest_denomination": ""
2637
+ },
2454
2638
  "yer": {
2455
2639
  "priority": 100,
2456
2640
  "iso_code": "YER",
@@ -2460,6 +2644,7 @@
2460
2644
  "subunit": "Fils",
2461
2645
  "subunit_to_unit": 100,
2462
2646
  "symbol_first": false,
2647
+ "format": "%n %u",
2463
2648
  "html_entity": "﷼",
2464
2649
  "decimal_mark": ".",
2465
2650
  "thousands_separator": ",",
@@ -2491,6 +2676,7 @@
2491
2676
  "subunit": "Ngwee",
2492
2677
  "subunit_to_unit": 100,
2493
2678
  "symbol_first": false,
2679
+ "format": "%n %u",
2494
2680
  "html_entity": "",
2495
2681
  "decimal_mark": ".",
2496
2682
  "thousands_separator": ",",
@@ -2501,12 +2687,12 @@
2501
2687
  "priority": 100,
2502
2688
  "iso_code": "ZMW",
2503
2689
  "name": "Zambian Kwacha",
2504
- "symbol": "ZK",
2690
+ "symbol": "K",
2505
2691
  "disambiguate_symbol": "ZMW",
2506
2692
  "alternate_symbols": [],
2507
2693
  "subunit": "Ngwee",
2508
2694
  "subunit_to_unit": 100,
2509
- "symbol_first": false,
2695
+ "symbol_first": true,
2510
2696
  "html_entity": "",
2511
2697
  "decimal_mark": ".",
2512
2698
  "thousands_separator": ",",