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

BigDecimal number lose precision due to conversion to floating point #36

Closed
nigellongton opened this issue Feb 13, 2014 · 2 comments
Closed

Comments

@nigellongton
Copy link

Michel,
Is it possible to add a 'Feature' to serialize/deserialize BigDecimal types as strings (or some other non lossy format) rather than floats? We're finding our data changes after going through bson4jackson.
Thanks
Nigel

@michel-kraemer
Copy link
Owner

Thanks for reporting this issue! The commit should fix the problem.

Do you need a new bson4jackson release or can you build it yourself? I would prefer to wait until #35 has been resolved before I release a new version, but if you need it urgently I can of course do it.

Cheers,
Michel

@nigellongton
Copy link
Author

Michel,
Thanks for the speedy fix - I can wait for the next release.
Cheers
Nigel

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

No branches or pull requests

2 participants