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 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
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.