Skip to content

[DarwinCompatibility] NumberFormatter fixes #1467

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

Merged
merged 1 commit into from
Mar 13, 2018

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Mar 10, 2018

  • Set groupingSize default to 0.

  • When setting numberStyle to .decimal, set minimumIntegerDigits to 1
    and groupingSize to 3 unless they are not zero.

  • Fixup tests to match macOS native Foundation.

  • Tested against 10.13.3

- Set groupingSize default to 0.

- When setting numberStyle to .decimal, set minimumIntegerDigits to 1
  and groupingSize to 3 unless they are not zero.

- Fixup tests to match macOS native Foundation.

- Tested against 10.13.3
@spevans
Copy link
Contributor Author

spevans commented Mar 10, 2018

@swift-ci please test

@parkera
Copy link
Contributor

parkera commented Mar 12, 2018

Looks good, thanks.

@spevans
Copy link
Contributor Author

spevans commented Mar 12, 2018

@swift-ci please test and merge

@swift-ci swift-ci merged commit 6501fa2 into swiftlang:master Mar 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants