I'm loading the Google Maps JavaScript V3 using: script.src = "http://maps.google.com/maps/api/js? v=3&sensor=false®ion=ES";
in my javaScript I have these lines: var lat = parseFloat("39.5775"); var lng = parseFloat("2.714105"); alert("parseLatLng" + new google.maps.LatLng(lat, lng)); alert("parseLatLng with 10 decimals " + new google.maps.LatLng(lat, lng).toUrlValue(10)); the firs alert shows : parseLatLng(39.5775, 2.7141050000000178) and the second shows: parseLatLng with 10 decimals 39.5775,2.714105 Why the longitude of the LatLng object is 2.7141050000000178 and not 2.714105? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.