src/sap.ui.core/src/sap/ui/model/odata/ODataUtils.js
function parseDecimal(sValue) {
		var aMatches;

		if (typeof sValue !== "string") {
			return undefined;
		}
		aMatches = rDecimal.exec(sValue);
		if (!aMatches) {
			return undefined;
		}
		return {
			sign: aMatches[1] === "-" ? -1 : 1,
			integerLength: aMatches[2].length,
			// remove trailing decimal zeroes and poss. the point afterwards
			abs: aMatches[2] + aMatches[3].replace(rTrailingZeroes, "")
					.replace(rTrailingDecimal, "")
		};
	}
function parseDecimal(sValue) {
		var aMatches;

		if (typeof sValue !== "string") {
			return undefined;
		}
		aMatches = rDecimal.exec(sValue);
		if (!aMatches) {
			return undefined;
		}
		return {
			sign: aMatches[1] === "-" ? -1 : 1,
			integerLength: aMatches[2].length,
			// remove trailing decimal zeroes and poss. the point afterwards
			abs: aMatches[2] + aMatches[3].replace(rTrailingZeroes, "")
					.replace(rTrailingDecimal, "")
		};
	}
function parseDecimal ( sValue ) { var aMatches ; if ( typeof sValue !== "string" ) { return undefined ; } aMatches = rDecimal . exec ( sValue ) ; if ( ! aMatches ) { return undefined ; } return { sign : aMatches [ 1 ] === "-" ? - 1 : 1 , integerLength : aMatches [ 2 ] . length , // remove trailing decimal zeroes and poss. the point afterwards abs : aMatches [ 2 ] + aMatches [ 3 ] . replace ( rTrailingZeroes , "" ) . replace ( rTrailingDecimal , "" ) } ; }
Parses a decimal given in a string.

@param {string} sValue
the value
@returns {object}
the result with the sign in <code>sign</code>, the number of integer digits in
<code>integerLength</code> and the trimmed absolute value in <code>abs</code>
Parses a decimal given in a string .