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

Rounding Longitude and Latitude to 6 decimals #6

Closed
ckrey opened this issue Jul 23, 2014 · 1 comment
Closed

Rounding Longitude and Latitude to 6 decimals #6

ckrey opened this issue Jul 23, 2014 · 1 comment

Comments

@ckrey
Copy link
Member

ckrey commented Jul 23, 2014

JavaME limitations, still to be done

@ckrey
Copy link
Member Author

ckrey commented Jul 24, 2014

Done the hard way:

long = (long)(double * 1000000)
double = long / 1000000.0

@ckrey ckrey closed this as completed Jul 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant