code: public static String format(Object o, int precision) {
  		return String.format(getFormat(o, precision), o);
  	}
docs: Returns a String representation of the given object using an appropriate
  format and the specified precision in case the object is a non-integer
  number.
  
  @param o
  Object for which a String representation is desired.
  @param precision
  Desired precision
  @return String representation of the given object using an appropriate
  format