Skip to content
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

fixed: big decimal formatting according to https://www.w3.org/TR/xmls… #417

Merged
merged 1 commit into from Feb 23, 2017

Conversation

coutoPL
Copy link
Contributor

@coutoPL coutoPL commented Feb 23, 2017

Was:

  • given BigDecimal(100).setScale(-2), output in xml: 1E+2

Is:

  • given BigDecimal(100).setScale(-2), output in xml: 100

According to https://www.w3.org/TR/xmlschema-2/#decimal Scientific Notation is not supported.

@eed3si9n eed3si9n merged commit c71e42c into eed3si9n:master Feb 23, 2017
@eed3si9n
Copy link
Owner

eed3si9n commented Feb 23, 2017

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.

None yet

2 participants