-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
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
Implement prototype of NumberFormat
#3669
Conversation
Test262 conformance changes
Fixed tests (290):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! I did have a couple comments. Mostly nits and questions/thoughts. None of it is blocking though 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff. I have nothing to add.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! :)
Implements the basics of
NumberFormat
, which includes all the digit formatting options (separators, numbering systems, significant digits/fractional digits, etc.).ICU4X is still working on offering support for units, different notations, and
formatToParts
, but this prototype is enough to give correct results for things like:which is pretty nice.