function toNumber (str, fallback) {
        if (!str) return fallback;
        var number = Number(str);
        return isFinite(number) ? number : fallback;
    }
@param {String} str Source string.
@param {Number} fallback Fallback value.
@returns Parsed number or fallback value.