Geocoding android - Longitude and Latitude values incorrect
<p>I Have an address that I would like to know the coordinates of. For instance the address is "Skillman Ave" Queens, NY. The coordinates is: <code>40.747281, -73.9283169</code> according to maps.google.com. In my app I have a function like this:</p>

<pre><code> public GeoPoint addressToGeo(String adr) {
    Geocoder coder = new Geocoder(this);
    List&lt;Address&gt; address = null;
    GeoPoint coordinates;


    try {
        address = coder.getFromLocationName(adr, 1);
    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }


    if (address == null) {
        return null;
    }
    Address location = address.get(0);
    location.getLatitude();
    location.getLongitude();

    coordinates = new GeoPoint((int) (location.getLatitude() *1E6),
                      (int) (location.getLongitude() * 1E6));

     return coordinates;
}
</code></pre>

<p>Which takes an address as parameter, and hopefully it will return the coordinates. My debugger says the the first element in the list adress contains this information:</p>

<pre><code>[Address[addressLines=[0:"Skillman Ave",1:"Queens, New York",2:"Amerikas forente stater"],feature=Skillman Ave,admin=New York,sub-admin=Queens,locality=Queens,thoroughfare=Skillman Ave,postalCode=null,countryCode=US,countryName=Amerikas forente stater,hasLatitude=true,latitude=40.747281,hasLongitude=true,longitude=-73.9283169,phone=null,url=null,extras=null]]
</code></pre>

<p>which seems correct if you look at the latitude and longitude variables. But when I type in this code:</p>

<pre><code>GeoPoint test; 
test = addressToGeo("Skillman Ave"); 
double latitude = test.getLatitudeE6(); 
double longitude = test.getLongitudeE6(); 

String lat = Double.toString(latitude);
String lng = Double.toString(longitude);
String total = lat + " " + lng; 
toAdress.setText(total); 
</code></pre>

<p>the toAdress textField will contain <code>4.0747281E7, -7.3928316E7</code> The comma is not in the right spot, and what is the <code>E7</code> in the end of each double? </p>
