ICU-12185 Fix LDML2ICUConversion of cashDigits/cashRounding
X-SVN-Rev: 38390
This commit is contained in:
parent
f9d2462f3c
commit
e50534f9e2
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f700d6ddaf706003c86b54aba1157e85324ff214504ce0cf340437fae8223dbd
|
||||
size 11754752
|
||||
oid sha256:848a445cb828689cd5bca20bfd321db5503ef66c0a94d929fc108a28d0c5595f
|
||||
size 11754757
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3da8204b14225b5765e7cb870ef54e9929fa24110e0d729a653c38298f6bb549
|
||||
oid sha256:a75dfbe25f7671a65bb933aed49a71eb9a923767687625982603c54860478ce7
|
||||
size 90259
|
||||
|
@ -4138,7 +4138,7 @@ public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
// compare the Currency and Currency Cash Digits
|
||||
// Note that as of CLDR 26:
|
||||
// * TWD switches from 0 decimals to 2; PKR still has 0, so change test to that
|
||||
// * CAD and all other currencies that rounded to .05 no longer do
|
||||
// * CAD rounds to .05 in the cash style only.
|
||||
for (int i = 0; i < 2; i++) {
|
||||
String original_expected = "PKR124";
|
||||
DecimalFormat custom = null;
|
||||
@ -4186,7 +4186,7 @@ public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
}
|
||||
|
||||
String cash_rounding_currency = fmt.format(123.567);
|
||||
String cash__rounding_currency_expected = "CA$123.57";
|
||||
String cash__rounding_currency_expected = "CA$123.55";
|
||||
assertEquals("Test Currency Context", cash__rounding_currency_expected, cash_rounding_currency);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user