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 (properly) #483

Merged
merged 1 commit into from Sep 14, 2018

Conversation

Projects
None yet
2 participants
@danslapman
Copy link
Contributor

danslapman commented Sep 11, 2018

This PR addresses problem that wasn't fixed completely in #417
BigDecimal(10000).setScale(-3) still outputs 10E+3 with toEngineeringString, but toPlainString does the job the right way. Please, publish a new minor version of scalaxb if all is ok with this PR.

@danslapman danslapman changed the title fixed: big decimal formatting according (properly) fixed: big decimal formatting (properly) Sep 11, 2018

@eed3si9n eed3si9n merged commit 8477ec0 into eed3si9n:master Sep 14, 2018

tOverney added a commit to tOverney/scalaxb that referenced this pull request Apr 5, 2019

Properly Format BigDecimal Attributes.
This builds on eed3si9n#483.
The case is not solved when `toXML` is called for a generated class and one of its attribute is a BigDecimal.

tOverney added a commit to tOverney/scalaxb that referenced this pull request Apr 8, 2019

Properly Format BigDecimal Attributes.
This builds on eed3si9n#483.
The case is not solved when `toXML` is called for a generated class and one of its attribute is a BigDecimal.

tOverney added a commit to tOverney/scalaxb that referenced this pull request Apr 8, 2019

Properly Format BigDecimal Attributes.
This builds on eed3si9n#483.
The case is not solved when `toXML` is called for a generated class and one of its attribute is a BigDecimal.

tOverney added a commit to tOverney/scalaxb that referenced this pull request Apr 8, 2019

Properly Format BigDecimal Attributes.
This builds on eed3si9n#483.
The case is not solved when `toXML` is called for a generated class and one of its attribute is a BigDecimal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.