mirror of https://github.com/tc39/test262.git
change to minimumFractionDigits:1
This commit is contained in:
parent
a8e89964b4
commit
5ee4e0d609
|
@ -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',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue