code: public static String toDecimal(Object value, String defaultValue) {
  	double res = toDoubleValue(value, true, Double.NaN);
  	if (Double.isNaN(res)) return defaultValue;
  	return toDecimal(res);
      }
docs: cast a double to a decimal value (String:xx.xx)
  
  @param value Object to cast
  @param defaultValue
  @return casted decimal value