randomFloat()

// min ..< max (exclusive)
export function randomFloat(min, max){
    return Math.random() * (max - min) + min;
}

Last updated