Take a look at this thread - specifically the geopoint2kml stuff - for how to extract the latitude and longitude (into separate results) from a geopoint.
Take a look at this thread - specifically the geopoint2kml stuff - for how to extract the latitude and longitude (into separate results) from a geopoint.