change notation to "standard"

I do not believe this setup is correct if we use notation: "compact". 

in https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/diff.html#sec-setnfdigitoptions
notation is "compact"
mnsd is undefined
mxsd is undefined
mnfd is undefined
mxfd is undefined
hasSd is false
hasFd is false
needSd is false
needFd is false
so step 23 else block will be run
Set intlObj.[[RoundingType]] to morePrecision.
then in step 23 of https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/diff.html#sec-initializenumberformat
```
If roundingIncrement is not 1 and numberFormat.[[RoundingType]] is not fractionDigits, throw a RangeError exception.
```
This commit is contained in:
Frank Yung-Fong Tang 2022-01-06 09:55:45 -08:00 committed by Rick Waldron
parent 9bfdf89edc
commit 0fe508c5f0
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ for (const [value, expected] of values) {
const nf = new Intl.NumberFormat([], {
get notation() {
callOrder.push("notation");
return "compact";
return "standard";
},
get roundingIncrement() {
callOrder.push("roundingIncrement");