Skip to content

Adding globalization for decimal, double and single for conversion. #97

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
Jul 18, 2015

Conversation

cybermats
Copy link

Found a bug for the FilteringTransformer and the Value Converter for Decimals, doubles and singles. In some cultures, such as se-SE, the decimal point is formatted as a comma (,). I don't remember which spec is says so in but I'm pretty sure that URIs and JSON wants non-localized formatting on those.

Added some regression tests that you can test out (without my changes) to see it fail.

csantero added a commit that referenced this pull request Jul 18, 2015
Adding globalization for decimal, double and single for conversion.
@csantero csantero merged commit f0324f5 into JSONAPIdotNET:payload2 Jul 18, 2015
@csantero
Copy link
Collaborator

Thanks!

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.

2 participants