function validateValue(aValues) {
			var iDecimals, iFractionDigits, aMatches,
				vNumber = aValues[0],
				sUnit = aValues[1];

			if (this.mCustomUnits === undefined) {
				throw new ValidateException("Cannot validate value without customizing");
			}

			if (!vNumber || !sUnit || !this.mCustomUnits
					|| this.oConstraints.skipDecimalsValidation) {
				return;
			}

			aMatches = rDecimals.exec(vNumber);
			iFractionDigits = aMatches ? aMatches[1].replace(rTrailingZeros, "").length : 0;
			iDecimals = this.mCustomUnits[sUnit].decimals;
			if (iFractionDigits > iDecimals) {
				throw this.getValidateException(iDecimals);
			}
		}
Validates whether the given value in model representation as returned by
{@link #parseValue} is valid and meets the conditions of this type's unit/currency
customizing.

@param {any[]} aValues
  An array containing measure or amount, and unit or currency in this order, see return
  value of {@link #parseValue}
@throws {sap.ui.model.ValidateException}
  If {@link #formatValue} has not yet been called with a customizing part or if the
  entered measure/amount has too many decimals

@function
@name sap.ui.model.odata.type.UnitMixin#validateValue
@public
@since 1.63.0