 <p>The values are in double and are shown in exponential form so they are shown as lon = 1.371864733333333e+02, lat=36.694250000000004</p> <p>You could reduce the length of numbers after the decimal point.</p> <p>Assuming you're using java you can use the following code to round off the number to 7 decimal places.</p> <pre><code>double lon = 137.186473333333; double lat = 36.694250000000004; DecimalFormat numberFormat = new DecimalFormat(); numberFormat.setRoundingMode(RoundingMode.CEILING); numberFormat.setMaximumFractionDigits(7); numberFormat.setParseIntegerOnly(true); numberFormat.setGroupingUsed(false); lon = Double.parseDouble(numberFormat.format(lon)); lat = Double.parseDouble(numberFormat.format(lat)); String url = "maps.google.com/?q="+lat+","lon; </code></pre> <p>The value in url will be <a href="http://maps.google.com/?q=36.6942500,137.1864733" rel="nofollow">maps.google.com/?q=36.6942500,137.1864733 </a> </p> <p>Even if you require high precision in location 7 decimal places are more than sufficient. </p>