function stripTrailingZeroDecimals(sNumber, minDecimalsPreserved) {
		if (sNumber.indexOf(".") >= 0 && sNumber.endsWith("0")) {
			var iFractionDigitsLength = sNumber.length - sNumber.lastIndexOf(".") - 1;
			var iFractionsToRemove = iFractionDigitsLength - minDecimalsPreserved;
			if (iFractionsToRemove > 0) {
				while (sNumber.endsWith("0") && (iFractionsToRemove-- > 0)) {
					sNumber = sNumber.substring(0, sNumber.length - 1);
				}
				if (sNumber.endsWith(".")) {
					sNumber = sNumber.substring(0, sNumber.length - 1);
				}
			}
		}
		return sNumber;
	}
Removes trailing zero decimals
@param {string} sNumber the number, e.g. "1.23000"
@param {number} minDecimalsPreserved the minimum decimals preserved, e.g. 3
@returns {string} the number with stripped trailing zero decimals, e.g. "1.230"