code: public static String formatRadiuses(double[] radiuses) {
      if (radiuses == null || radiuses.length == 0) {
        return null;
      }
  
      String[] radiusesFormatted = new String[radiuses.length];
      for (int i = 0; i < radiuses.length; i++) {
        if (radiuses[i] == Double.POSITIVE_INFINITY) {
          radiusesFormatted[i] = "unlimited";
        } else {
          radiusesFormatted[i] = String.format(Locale.US, "%s",
            TextUtils.formatCoordinate(radiuses[i]));
        }
      }
      return join(";", radiusesFormatted);
    }
docs: Used in various APIs to format the user provided radiuses to a String matching the APIs format.
  
  @param radiuses a double array which represents the radius values
  @return a String ready for being passed into the Retrofit call
  @since 3.0.0