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
md5: f147bbb6d13455a40904fa262c2155dc
Issue Description:
The following codes behave differently between macOS and Linux.
let formatter = NumberFormatter() formatter.negativeFormat = "#.#########" formatter.positiveFormat = "#.#########" var a = 0.5 print(formatter.string(from: NSNumber(value: a)))
macOS, swift 5 output: 0.5
Docker swift:4.1 output: 0
Docker vapor/swift:5.0 output: 0
The text was updated successfully, but these errors were encountered:
CC @spevans & @millenomi
Sorry, something went wrong.
#2062
spevans
No branches or pull requests
Additional Detail from JIRA
md5: f147bbb6d13455a40904fa262c2155dc
Issue Description:
The following codes behave differently between macOS and Linux.
macOS, swift 5
output: 0.5
Docker swift:4.1
output: 0
Docker vapor/swift:5.0
output: 0
The text was updated successfully, but these errors were encountered: