I know that I can generate random floats with rand(max). I tried to generate a float in a range, this shouldn\'t be hard. But e.g rand(1.4512) returns 0, thus rand isn\'t calcul