src/sap.ui.core/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js
function (oOperand1, oOperand2) {
			if (oOperand1.result !== "constant" && oOperand1.category === "number"
					&& oOperand2.result === "constant" && oOperand2.type === "Edm.Int64") {
				// adjust an integer constant of type "Edm.Int64" to the number
				oOperand2.category = "number";
			}
			if (oOperand1.result !== "constant" && oOperand1.category === "Decimal"
				&& oOperand2.result === "constant" && oOperand2.type === "Edm.Int32") {
				// adjust an integer constant of type "Edm.Int32" to the decimal
				oOperand2.category = "Decimal";
				oOperand2.type = oOperand1.type;
			}
		}
function (oOperand1, oOperand2) {
			if (oOperand1.result !== "constant" && oOperand1.category === "number"
					&& oOperand2.result === "constant" && oOperand2.type === "Edm.Int64") {
				// adjust an integer constant of type "Edm.Int64" to the number
				oOperand2.category = "number";
			}
			if (oOperand1.result !== "constant" && oOperand1.category === "Decimal"
				&& oOperand2.result === "constant" && oOperand2.type === "Edm.Int32") {
				// adjust an integer constant of type "Edm.Int32" to the decimal
				oOperand2.category = "Decimal";
				oOperand2.type = oOperand1.type;
			}
		}
function ( oOperand1 , oOperand2 ) { if ( oOperand1 . result !== "constant" && oOperand1 . category === "number" && oOperand2 . result === "constant" && oOperand2 . type === "Edm.Int64" ) { // adjust an integer constant of type "Edm.Int64" to the number oOperand2 . category = "number" ; } if ( oOperand1 . result !== "constant" && oOperand1 . category === "Decimal" && oOperand2 . result === "constant" && oOperand2 . type === "Edm.Int32" ) { // adjust an integer constant of type "Edm.Int32" to the decimal oOperand2 . category = "Decimal" ; oOperand2 . type = oOperand1 . type ; } }
Adjusts the second operand so that both have the same category, if possible.

@param {object} oOperand1
the operand 1 (as a result object with category)
@param {object} oOperand2
the operand 2 (as a result object with category) - may be modified
Adjusts the second operand so that both have the same category if possible .