Java tutorial
//package com.java2s; public class Main { private static String toCoordinates(double latitude, double longitude) { String coords = ""; coords += Double.toString(longitude) + ","; coords += Double.toString(latitude) + ","; coords += "0"; return coords; } }