@Override
	public Object stringToValue(String text) throws ParseException {
		return new Integer(Math.min(Math.max(Numbers.getLocalizedInteger(text, mMinValue <= 0 && mMaxValue >= 0 ? 0 : mMinValue), mMinValue), mMaxValue));
	}