lib/libs.js
function (min, max) {
                    min = parseFloat(min);
                    max = parseFloat(max);

                    if(isNaN(min) && !isFinite(min)) min = 0;
                    if(isNaN(max) && !isFinite(max)) max = Number.MAX_VALUE;
                    return Math.random() * (max - min) + min;
                }
function (min, max) {
                    min = parseFloat(min);
                    max = parseFloat(max);

                    if(isNaN(min) && !isFinite(min)) min = 0;
                    if(isNaN(max) && !isFinite(max)) max = Number.MAX_VALUE;
                    return Math.random() * (max - min) + min;
                }
function ( min , max ) { min = parseFloat ( min ) ; max = parseFloat ( max ) ; if ( isNaN ( min ) && ! isFinite ( min ) ) min = 0 ; if ( isNaN ( max ) && ! isFinite ( max ) ) max = Number . MAX_VALUE ; return Math . random ( ) * ( max - min ) + min ; }
Returns a random float in range [min, max] (inclusive)
@param {Number} min The minimum possible value (inclusive)
@param {Number} max The maximum possible value (inclusive)
@return {Number} A random number between min and max
Returns a random float in range [ min max ] ( inclusive )