Skip to content

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

Merged
eed3si9n merged 1 commit into
eed3si9n:masterfrom
coutoPL:bugfix/big_decimal_serializing
Feb 23, 2017
Merged

fixed: big decimal formatting according to https://www.w3.org/TR/xmls…#417
eed3si9n merged 1 commit into
eed3si9n:masterfrom
coutoPL:bugfix/big_decimal_serializing

Conversation

@coutoPL
Copy link
Copy Markdown
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
Copy Markdown
Owner

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