We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From @FrankYFTang:
Also in the README.md it said
Ranges to infinity are supported, but if either value is NaN, an error is thrown. (#12) nf.formatRange(500, 0/0); // RangeError
Ranges to infinity are supported, but if either value is NaN, an error is thrown. (#12)
nf.formatRange(500, 0/0); // RangeError
But I have a hard time figuring out where in the spec to throw the NaN now. I don't think ToIntlMathematicalValue will throw if the value is NaN right? https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/diff.html#sec-partitionnumberrangepattern
If x is a non-finite Number or y is is a non-finite Number, throw a RangeError exception.
What is the definition of "non-finite Number" ? Is NaN a "non-finite Number" ? I cannot tell https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/diff.html#sec-partitionnumberpattern surely won't throw if NaN because
If x is NaN, then Let n be an implementation- and locale-dependent (ILD) String value indicating the NaN value.
The text was updated successfully, but these errors were encountered:
b10389e
No branches or pull requests
From @FrankYFTang:
Also in the README.md it said
But I have a hard time figuring out where in the spec to throw the NaN now.
I don't think ToIntlMathematicalValue will throw if the value is NaN right?
https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/diff.html#sec-partitionnumberrangepattern
What is the definition of "non-finite Number" ?
Is NaN a "non-finite Number" ? I cannot tell
https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/diff.html#sec-partitionnumberpattern
surely won't throw if NaN because
The text was updated successfully, but these errors were encountered: