define(function() {

    function rand(min, max) {
        return Math.random() * (max - min) + min;
    }

    function round(value, precision) {
        var multiplier = Math.pow(10, precision || 0);
        return Math.round(value * multiplier) / multiplier;
    }

    return {
        'rand': rand,
        'round': round
    }
});
