function checkValueRange(oType, sValue, oRange) {
		var sAbsoluteLimit, aMatches, bNegative;

		aMatches = rInteger.exec(sValue);
		if (aMatches) {
			bNegative = sValue.charAt(0) === '-';
			sAbsoluteLimit = bNegative ? oRange.minimum.slice(1) : oRange.maximum;

			if (aMatches[1].length < sAbsoluteLimit.length ) {
				return undefined;
			}
			if (aMatches[1].length > sAbsoluteLimit.length || aMatches[1] > sAbsoluteLimit) {
				if (bNegative) {
					return getText("EnterNumberMin", [oType.formatValue(oRange.minimum, "string")]);
				} else {
					return getText("EnterNumberMax", [oType.formatValue(oRange.maximum, "string")]);
				}
			}
			return undefined;
		}
		return getText("EnterInt");
	}
/**
	 * Checks whether <code>sValue</code> is in the given range.
	 * @param {sap.ui.model.odata.type.Int64} oType
	 *   the type instance
	 * @param {string} sValue
	 *   value to be checked
	 * @param {object} oRange
	 *   the allowed range object with minimum and maximum as <code>string</code>
	 * @returns {string}
	 *   the error text or <code>undefined</code> if the check was successful
	 */
Checks whether sValue is in the given range.
@param {sap.ui.model.odata.type.Int64} oType
the type instance
@param {string} sValue
value to be checked
@param {object} oRange
the allowed range object with minimum and maximum as string
@returns {string}
the error text or undefined if the check was successful
Checks whether sValue is in the given range . @param { sap . ui . model . odata . type . Int64 } oType the type instance @param { string } sValue value to be checked @param { object } oRange the allowed range object with minimum and maximum as string @returns { string } the error text or undefined if the check was successful
function checkValueRange(oType, sValue, oRange) {
		var sAbsoluteLimit, aMatches, bNegative;
		aMatches = rInteger.exec(sValue);
		if (aMatches) {
			bNegative = sValue.charAt(0) === '-';
			sAbsoluteLimit = bNegative ? oRange.minimum.slice(1) : oRange.maximum;
			if (aMatches[1].length < sAbsoluteLimit.length ) {
				return undefined;
			}
			if (aMatches[1].length > sAbsoluteLimit.length || aMatches[1] > sAbsoluteLimit) {
				if (bNegative) {
					return getText("EnterNumberMin", [oType.formatValue(oRange.minimum, "string")]);
				} else {
					return getText("EnterNumberMax", [oType.formatValue(oRange.maximum, "string")]);
				}
			}
			return undefined;
		}
		return getText("EnterInt");
	}
function checkValueRange ( oType , sValue , oRange ) { var sAbsoluteLimit , aMatches , bNegative ; aMatches = rInteger . exec ( sValue ) ; if ( aMatches ) { bNegative = sValue . charAt ( 0 ) === '-' ; sAbsoluteLimit = bNegative ? oRange . minimum . slice ( 1 ) : oRange . maximum ; if ( aMatches [ 1 ] . length < sAbsoluteLimit . length ) { return undefined ; } if ( aMatches [ 1 ] . length > sAbsoluteLimit . length || aMatches [ 1 ] > sAbsoluteLimit ) { if ( bNegative ) { return getText ( "EnterNumberMin" , [ oType . formatValue ( oRange . minimum , "string" ) ] ) ; } else { return getText ( "EnterNumberMax" , [ oType . formatValue ( oRange . maximum , "string" ) ] ) ; } } return undefined ; } return getText ( "EnterInt" ) ; }
Checks whether <code>sValue</code> is in the given range.
Checks whether <code > sValue< / code > is in the given range .