change to minimumFractionDigits:1

This commit is contained in:
Frank Yung-Fong Tang 2022-01-06 11:20:17 -08:00 committed by Rick Waldron
parent a8e89964b4
commit 5ee4e0d609
1 changed files with 4 additions and 4 deletions

View File

@ -15,13 +15,13 @@ var numberingSystems = ['arab', 'latn', 'thai', 'hanidec'];
testNumberFormat( testNumberFormat(
locales, locales,
numberingSystems, numberingSystems,
{roundingIncrement: 50, maximumFractionDigits: 2}, {roundingIncrement: 50, maximumFractionDigits: 2, minimumFractionDigits: 1},
{ {
'1.500': '1.5', '1.500': '1.5',
'1.625': '1.5', '1.625': '1.5',
'1.750': '2', '1.750': '2.0',
'1.875': '2', '1.875': '2.0',
'2.000': '2', '2.000': '2.0',
} }
); );