What is the best way to generate a random float value included into a specified value interval?
<p>I want to generate a random float value in Java. The value has to be within a specific range of possible values.</p>

<p>For example, I have to generate a random value that is in the following range:</p>

<pre><code>MIN: 41,815080
MAX: 41,829191
</code></pre>

<p>These values happen to represent a range of possible longitudes on a map, but the question applies more generally.</p>

<p>What is a smart way to do it?</p>