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

GeoConverters bug when no digits behind decimal point [DATASOLR-307] #429

spring-projects-issues opened this issue May 18, 2016 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented May 18, 2016

Arien Kock opened DATASOLR-307 and commented

Both Point3DToStringConverter and Point2DToStringConverter create wrong formatted output when the input ends with all zero decimals:

GeoConverters.Point3DToStringConverter.INSTANCE.convert(new Point(53.549999, 10.000000))
// outputs: "53549999,10"
GeoConverters.Point2DToStringConverter.INSTANCE.convert(new Point(53.549999, 10.000000))
// outputs: "53.0549999,10.0"

Affects: 2.0.1 (Hopper SR1)

Referenced from: commits 955f7c9, 2eab703, 07db740, cf82624

Backported to: 2.0.2 (Hopper SR2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants