function ceil(arg) {
        var result;

        // undefined inputs always return undefined
        if (typeof arg === 'undefined') {
            return undefined;
        }

        result = Math.ceil(arg);
        return result;
    }
Rounds a number up to integer
@param {Number} arg - Argument
@returns {Number} rounded integer