Bug 183890 [DataBinding] Default converter for numbers to numbers
We don't currently default converters for converting between numbers (e.g. int to double, long to int, etc.).
bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/StringToNumberParser.java
} else {
				return false;
			}
		} else if (number instanceof BigInteger) {
			bigInteger = (BigInteger) number;
		} else if (number instanceof BigDecimal) {
			bigInteger = ((BigDecimal) number).toBigInteger();
		} else {
			/*
			 * The else is necessary as the ICU4J plugin has it's own BigDecimal
			 * implementation which isn't part of the replacement plugin. So
			 * that this will work we fall back on the double value of the
			 * number.
			 */
			bigInteger = new BigDecimal(number.doubleValue()).toBigInteger();
		}
		if (bigInteger != null) {
			return bigInteger.bitLength() <= bitLength;
		}
		throw new IllegalArgumentException(
				"Number of type [" + number.getClass().getName() + "] is not supported."); 
	}
	/**
	 * Returns <code>true</code> if the provided <code>number</code> is in
	 * the range of a long.
	 * 
	 * @param number
	 * @return <code>true</code> if in range
	 * @throws IllegalArgumentException
	 *             if the number type is unsupported