remove extra "Digits"

This commit is contained in:
Frank Yung-Fong Tang 2022-01-06 15:47:11 -08:00 committed by Rick Waldron
parent fe9f29e4a8
commit a12f375a99
1 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ var numberingSystems = ['arab', 'latn', 'thai', 'hanidec'];
testNumberFormat(
locales,
numberingSystems,
{useGrouping: false, roundingPriority: 'morePrecision', minimumSignificantDigits: 2, minimumFractionDigitsDigits: 2},
{useGrouping: false, roundingPriority: 'morePrecision', minimumSignificantDigits: 2, minimumFractionDigits: 2},
{'1': '1.00'}
);
@ -26,7 +26,7 @@ testNumberFormat(
testNumberFormat(
locales,
numberingSystems,
{useGrouping: false, roundingPriority: 'morePrecision', minimumSignificantDigits: 3, minimumFractionDigitsDigits: 2},
{useGrouping: false, roundingPriority: 'morePrecision', minimumSignificantDigits: 3, minimumFractionDigits: 2},
{'1': '1.00'}
);
@ -34,7 +34,7 @@ testNumberFormat(
testNumberFormat(
locales,
numberingSystems,
{useGrouping: false, roundingPriority: 'morePrecision', maximumSignificantDigits: 2, maximumFractionDigitsDigits: 2},
{useGrouping: false, roundingPriority: 'morePrecision', maximumSignificantDigits: 2, maximumFractionDigits: 2},
{'1.23': '1.23'}
);
@ -42,6 +42,6 @@ testNumberFormat(
testNumberFormat(
locales,
numberingSystems,
{useGrouping: false, roundingPriority: 'morePrecision', maximumSignificantDigits: 3, maximumFractionDigitsDigits: 1},
{useGrouping: false, roundingPriority: 'morePrecision', maximumSignificantDigits: 3, maximumFractionDigits: 1},
{'1.234': '1.23'}
);