public double getDouble(){
		switch (dataType) {
		case Long:
			return ((Long) value).doubleValue();
		case Double:
			return ((Double) value).doubleValue();
		}
		throw new FormulaException("Can not get a double value from "
				+ dataType.toString());
	}