public static <T extends Number> T toNumber(Number number, Class<T> target) {
		if (number == null) {
			return null;
		}
		try {
			return target.getConstructor(String.class).newInstance(number.toString());
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
	}