I'm having an issue when using Geolocation: most of the times I get the position with 9 digits: 43.4759862, but sometimes I get a lot of numbers: 43.475898199999996.
Is there a way to make the result to appear always the same way, with 9 digits?
- Code: Select all
But it rounds the number to 40 (Because it's not a "real" decimal number, I guess, I'm not very good with GPS formats).
Thanks in advance.