function removeTrailingZeroes(sValue) {
		if (sValue.indexOf(".") >= 0) {
			sValue = sValue.replace(rTrailingZeroes, "$1");
		}

		return sValue;
	}
Removes trailing zeroes after the decimal point from the given value; in case there are only
zeroes after the decimal point, also removes the decimal point.

@param {string} sValue The value, e.g. "1.000"
@returns {string} The value without trailing zeroes, e.g. "1"