code: public static String coordToString(double... c) {
          StringBuilder builder = new StringBuilder("(");
          for (int i = 0; i < c.length; i++) {
              builder.append(Math.round(c[i], 2)).append(",");
          }
  
          if (c.length > 0) {
              builder.setCharAt(builder.length(), ')');
          } else {
              builder.append(")");
          }
  
          return builder.toString();
      }
docs: Convert coordinate to a string.