code: public static Double toDouble(Object o) throws PageException {
  	if (o instanceof Double) return (Double) o;
  	return new Double(toDoubleValue(o));
  
      }
docs: cast a Object to a Double Object (reference Type)
  
  @param o Object to cast
  @return casted Double Object
  @throws PageException